aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorJohny Mo Swag <johnymo@me.com>2013-05-02 11:51:12 -0700
committerPhilipp Hagemeister <phihag@phihag.de>2013-05-04 07:59:33 +0200
commitf23a03a89bdc1628fa2af9e30b33feb4e4b467af (patch)
tree82b43bc68cc9b1aa24b51353b2d840cdc80974ba /youtube_dl
parent84e4682f0eb2e67da23645e94abfa08e79ffc0df (diff)
updated regular experssion for possible future updates to source url
Diffstat (limited to 'youtube_dl')
-rwxr-xr-xyoutube_dl/InfoExtractors.py2
1 files changed, 1 insertions, 1 deletions
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')