Browse Source

removed str used for other project.

rtmp_test
Johny Mo Swag 12 years ago
parent
commit
3b221c5406
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      youtube_dl/InfoExtractors.py

+ 1
- 1
youtube_dl/InfoExtractors.py 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)


Loading…
Cancel
Save