diff options
| author | Jaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com> | 2013-12-19 21:02:25 +0100 | 
|---|---|---|
| committer | Jaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com> | 2013-12-19 21:02:25 +0100 | 
| commit | 768df745385a283f4df3a38ee4734feec518ec87 (patch) | |
| tree | c4f12a5ee69cc8a087166a1e896a6c855ec6d62f | |
| parent | 1f9da9049b5b6dcede3d274acd58aa1b6dea5d2c (diff) | |
[blinkxx] Add support for youtube videos
| -rw-r--r-- | youtube_dl/extractor/blinkx.py | 4 | 
1 files changed, 4 insertions, 0 deletions
diff --git a/youtube_dl/extractor/blinkx.py b/youtube_dl/extractor/blinkx.py index 48f16b692..e118f2e9f 100644 --- a/youtube_dl/extractor/blinkx.py +++ b/youtube_dl/extractor/blinkx.py @@ -54,6 +54,10 @@ class BlinkxIE(InfoExtractor):                  })              elif m['type'] == 'original':                  duration = m['d'] +            elif m['type'] == 'youtube': +                yt_id = m['link'] +                self.to_screen(u'Youtube video detected: %s' % yt_id) +                return self.url_result(yt_id, 'Youtube', video_id=yt_id)              elif m['type'] in ('flv', 'mp4'):                  vcodec = remove_start(m['vcodec'], 'ff')                  acodec = remove_start(m['acodec'], 'ff')  | 
