updated regular experssion for possible future updates to source url

This commit is contained in:
Johny Mo Swag 2013-05-02 11:51:12 -07:00
parent 6ccff79594
commit edd70010dc

View File

@ -3625,7 +3625,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))"""
webpage_src = compat_urllib_request.urlopen(url).read()
webpage_src = webpage_src.decode('utf-8')