Browse Source

Handle video pages without vevo IDs (Fixes #923)

rtmp_test
Philipp Hagemeister 12 years ago
parent
commit
50be92c11c
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      youtube_dl/extractor/youtube.py

+ 2
- 0
youtube_dl/extractor/youtube.py View File

@ -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…
Cancel
Save