Skip to content

Commit

Permalink
Update ytmusicapi/parsers/search.py
Browse files Browse the repository at this point in the history
  • Loading branch information
sigma67 authored Jan 14, 2024
1 parent 1efef81 commit 62bafe1
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion ytmusicapi/parsers/search.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ def parse_top_result(data, search_result_types):
search_result["videoType"] = nav(on_tap, NAVIGATION_VIDEO_TYPE)

if result_type in ["song", "video", "album"]:
on_tap = data.get("onTap")
search_result["videoId"] = nav(data, ["onTap"] + WATCH_VIDEO_ID, True)
search_result["videoType"] = nav(data, ["onTap"] + NAVIGATION_VIDEO_TYPE, True)

Expand Down

0 comments on commit 62bafe1

Please sign in to comment.