mirror of
https://gitlab.com/dstftw/youtube-dl.git
synced 2020-11-16 09:42:26 +00:00
Merge pull request #815 from JohnyMoSwag/master
Update for new source links on worldstarhiphop.com
This commit is contained in:
commit
4c4f15eb78
|
@ -3625,7 +3625,7 @@ class WorldStarHipHopIE(InfoExtractor):
|
||||||
IE_NAME = u'WorldStarHipHop'
|
IE_NAME = u'WorldStarHipHop'
|
||||||
|
|
||||||
def _real_extract(self, url):
|
def _real_extract(self, url):
|
||||||
_src_url = r"""(http://hw-videos.*(?:mp4|flv))"""
|
_src_url = r"""(http://(hw-videos|hw-post1).*(?:mp4|flv))"""
|
||||||
|
|
||||||
webpage_src = compat_urllib_request.urlopen(url).read()
|
webpage_src = compat_urllib_request.urlopen(url).read()
|
||||||
webpage_src = webpage_src.decode('utf-8')
|
webpage_src = webpage_src.decode('utf-8')
|
||||||
|
|
Loading…
Reference in a new issue