mirror of
https://github.com/l1ving/youtube-dl
synced 2024-11-21 00:42:58 +08:00
Handle video pages without vevo IDs (Fixes #923)
This commit is contained in:
parent
7ce7e39476
commit
50be92c11c
@ -484,6 +484,8 @@ class YoutubeIE(InfoExtractor):
|
||||
|
||||
try:
|
||||
mobj = re.search(r';ytplayer.config = ({.*?});', video_webpage)
|
||||
if not mobj:
|
||||
raise ValueError('Could not find vevo ID')
|
||||
info = json.loads(mobj.group(1))
|
||||
args = info['args']
|
||||
# Easy way to know if the 's' value is in url_encoded_fmt_stream_map
|
||||
|
Loading…
Reference in New Issue
Block a user