From f23a03a89bdc1628fa2af9e30b33feb4e4b467af Mon Sep 17 00:00:00 2001 From: Johny Mo Swag Date: Thu, 2 May 2013 11:51:12 -0700 Subject: [PATCH] updated regular experssion for possible future updates to source url --- youtube_dl/InfoExtractors.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/InfoExtractors.py b/youtube_dl/InfoExtractors.py index ea89638e0d..41b9aea0b3 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')