1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-11-22 18:22:21 +00:00

removed str used for other project.

This commit is contained in:
Johny Mo Swag 2013-03-08 22:39:45 -08:00
parent 64c78d50cc
commit 3b221c5406

View file

@ -3661,7 +3661,7 @@ class WorldStarHipHopIE(InfoExtractor):
def _real_extract(self, url): def _real_extract(self, url):
_src_url = r"""(http://hw-videos.*(?:mp4|flv))""" _src_url = r"""(http://hw-videos.*(?:mp4|flv))"""
webpage_src = compat_urllib_request.urlopen(str(url)).read() webpage_src = compat_urllib_request.urlopen(url).read()
webpage_src = webpage_src.decode('utf-8') webpage_src = webpage_src.decode('utf-8')
mobj = re.search(_src_url, webpage_src) mobj = re.search(_src_url, webpage_src)