mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-20 05:47:24 +01:00
Update piramidetv.py
This commit is contained in:
parent
15d91f99ca
commit
1c5d9b91f5
@ -60,8 +60,7 @@ def extract_video(video_id, fatal=False):
|
||||
video, next_video = extract_video(video_id, (not entries))
|
||||
if video.get('formats'):
|
||||
entries.append(video)
|
||||
if next_video != video_id:
|
||||
video_id = next_video
|
||||
video_id = next_video if next_video != video_id else None
|
||||
|
||||
if len(entries) == 1:
|
||||
return entries[0]
|
||||
|
Loading…
Reference in New Issue
Block a user