parent
5e3bc62620
commit
55b362e4dc
1 changed files with 3 additions and 1 deletions
|
|
@ -117,7 +117,9 @@ def parse_video(result):
|
|||
videoId = nav(result, NAVIGATION_VIDEO_ID, True)
|
||||
if not videoId:
|
||||
videoId = next(
|
||||
id for entry in nav(result, MENU_ITEMS) if nav(entry, MENU_SERVICE + QUEUE_VIDEO_ID, True)
|
||||
video_id
|
||||
for entry in nav(result, MENU_ITEMS)
|
||||
if (video_id := nav(entry, MENU_SERVICE + QUEUE_VIDEO_ID, True))
|
||||
)
|
||||
return {
|
||||
"title": nav(result, TITLE_TEXT),
|
||||
|
|
|
|||
Loading…
Reference in a new issue