From: Johny Mo Swag Date: Thu, 2 May 2013 18:51:12 +0000 (-0700) Subject: updated regular experssion for possible future updates to source url X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=f23a03a89bdc1628fa2af9e30b33feb4e4b467af;p=youtube-dl updated regular experssion for possible future updates to source url --- diff --git a/youtube_dl/InfoExtractors.py b/youtube_dl/InfoExtractors.py index ea89638e0..41b9aea0b 100755 --- a/youtube_dl/InfoExtractors.py +++ b/youtube_dl/InfoExtractors.py @@ -3487,7 +3487,7 @@ class WorldStarHipHopIE(InfoExtractor): IE_NAME = u'WorldStarHipHop' 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) video_id = m.group('id')