diff options
author | Johny Mo Swag <[email protected]> | 2014-02-22 00:11:57 -0800 |
---|---|---|
committer | Johny Mo Swag <[email protected]> | 2014-02-22 00:11:57 -0800 |
commit | 9ddfd84e41b57343adac6d0677d91750686b8bc6 (patch) | |
tree | 0410471ccdf23ef1dde61724069a147b4b7f59f6 /youtube_dl/extractor/worldstarhiphop.py | |
parent | 1cf563d84baf84a208f4368b9b9f5b2e2b98ddd3 (diff) | |
download | youtube-dl-9ddfd84e41b57343adac6d0677d91750686b8bc6.tar.gz youtube-dl-9ddfd84e41b57343adac6d0677d91750686b8bc6.zip |
added trutubeIE
Diffstat (limited to 'youtube_dl/extractor/worldstarhiphop.py')
-rw-r--r-- | youtube_dl/extractor/worldstarhiphop.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/youtube_dl/extractor/worldstarhiphop.py b/youtube_dl/extractor/worldstarhiphop.py index 3237596a3..fc9237a3f 100644 --- a/youtube_dl/extractor/worldstarhiphop.py +++ b/youtube_dl/extractor/worldstarhiphop.py @@ -22,8 +22,8 @@ class WorldStarHipHopIE(InfoExtractor): webpage_src = self._download_webpage(url, video_id) m_vevo_id = re.search(r'videoId=(.*?)&?', - webpage_src) - + webpage_src) + if m_vevo_id is not None: self.to_screen(u'Vevo video detected:') return self.url_result('vevo:%s' % m_vevo_id.group(1), ie='Vevo') |