mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-15 07:42:42 +00:00
[youtube] Fix reference before assignment for video_info
This commit is contained in:
parent
d80265ccd6
commit
bc93bdb5bb
1 changed files with 1 additions and 0 deletions
|
@ -883,6 +883,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
|
|||
add_dash_mpd(video_info)
|
||||
else:
|
||||
age_gate = False
|
||||
video_info = None
|
||||
# Try looking directly into the video webpage
|
||||
mobj = re.search(r';ytplayer\.config\s*=\s*({.*?});', video_webpage)
|
||||
if mobj:
|
||||
|
|
Loading…
Reference in a new issue