updated regular experssion for possible future updates to source url
authorJohny Mo Swag <johnymo@me.com>
Thu, 2 May 2013 18:51:12 +0000 (11:51 -0700)
committerPhilipp Hagemeister <phihag@phihag.de>
Sat, 4 May 2013 05:59:33 +0000 (07:59 +0200)
youtube_dl/InfoExtractors.py

index ea89638e0d030869b0aab2cfbd4fdaff19f4455a..41b9aea0b37f21da9119cc86650d4b9d10a0bc4f 100755 (executable)
@@ -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')