X-Git-Url: https://git.rapsys.eu/youtubedl/blobdiff_plain/bddc9fc577d16b1428924bf8a5c37ef1d9295f14..c670f56ca0429c298742afaf85756aa12c6d5013:/youtube_dl/extractor/worldstarhiphop.py?ds=inline diff --git a/youtube_dl/extractor/worldstarhiphop.py b/youtube_dl/extractor/worldstarhiphop.py index 54a77b6..531d088 100644 --- a/youtube_dl/extractor/worldstarhiphop.py +++ b/youtube_dl/extractor/worldstarhiphop.py @@ -16,6 +16,10 @@ class WorldStarHipHopIE(InfoExtractor): video_url = self._search_regex(r'so\.addVariable\("file","(.*?)"\)', webpage_src, u'video URL') + if 'youtube' in video_url: + self.to_screen(u'Youtube video detected:') + return self.url_result(video_url, ie='Youtube') + if 'mp4' in video_url: ext = 'mp4' else: