summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJaime Marquínez Ferrándiz <[email protected]>2013-12-19 21:02:25 +0100
committerJaime Marquínez Ferrándiz <[email protected]>2013-12-19 21:02:25 +0100
commit768df745385a283f4df3a38ee4734feec518ec87 (patch)
treec4f12a5ee69cc8a087166a1e896a6c855ec6d62f
parent1f9da9049b5b6dcede3d274acd58aa1b6dea5d2c (diff)
downloadyoutube-dl-768df745385a283f4df3a38ee4734feec518ec87.tar.gz
youtube-dl-768df745385a283f4df3a38ee4734feec518ec87.zip
[blinkxx] Add support for youtube videos
-rw-r--r--youtube_dl/extractor/blinkx.py4
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')