mirror of https://github.com/yt-dlp/yt-dlp.git
updated regular experssion for possible future updates to source url
This commit is contained in:
parent
84e4682f0e
commit
f23a03a89b
|
@ -3487,7 +3487,7 @@ class WorldStarHipHopIE(InfoExtractor):
|
||||||
IE_NAME = u'WorldStarHipHop'
|
IE_NAME = u'WorldStarHipHop'
|
||||||
|
|
||||||
def _real_extract(self, url):
|
def _real_extract(self, url):
|
||||||
_src_url = r"""(http://(hw-videos|hw-post1).*(?:mp4|flv))"""
|
_src_url = r"""(http://(hw-videos|hw-post)[0-9]*.*(?:mp4|flv))"""
|
||||||
|
|
||||||
m = re.match(self._VALID_URL, url)
|
m = re.match(self._VALID_URL, url)
|
||||||
video_id = m.group('id')
|
video_id = m.group('id')
|
||||||
|
|
Loading…
Reference in New Issue