used the fix for python 3 provided by @jaimeMF

This commit is contained in:
M.Yasoob Khalid 2013-06-06 01:00:24 +05:00
parent b8e189f1de
commit fd133bfffa

View File

@ -4529,6 +4529,7 @@ class HypemIE(InfoExtractor):
response = compat_urllib_request.urlopen(request) response = compat_urllib_request.urlopen(request)
song_data_json = response.read() song_data_json = response.read()
response.close() response.close()
(song_data_json, response) = self._download_webpage_handle(request, id, u'Downloading webpage with the url')
song_data = json.loads(song_data_json) song_data = json.loads(song_data_json)
final_url = song_data[u"url"] final_url = song_data[u"url"]
return [{ return [{