mirror of
https://github.com/l1ving/youtube-dl
synced 2025-03-12 13:37:45 +08:00
Added new regex for video url extraction
This commit is contained in:
parent
c254f75bbb
commit
31f95e9f5b
@ -35,7 +35,8 @@ class WorldStarHipHopIE(InfoExtractor):
|
||||
|
||||
video_url = self._search_regex(
|
||||
[r'so\.addVariable\("file","(.*?)"\)',
|
||||
r'<div class="artlist">\s*<a[^>]+href="([^"]+)">'],
|
||||
r'<div class="artlist">\s*<a[^>]+href="([^"]+)">',
|
||||
r'<video id="video-player".*>\s*<source\s*src="(.*?)".*</video>'],
|
||||
webpage, 'video URL')
|
||||
|
||||
if 'youtube' in video_url:
|
||||
|
Loading…
x
Reference in New Issue
Block a user