diff --git a/youtube_dl/InfoExtractors.py b/youtube_dl/InfoExtractors.py index 873f80fe0..1936ee241 100755 --- a/youtube_dl/InfoExtractors.py +++ b/youtube_dl/InfoExtractors.py @@ -4500,17 +4500,6 @@ class HypemIE(InfoExtractor): request = compat_urllib_request.Request(complete_url) response,urlh = self._download_webpage_handle(request, id, u'Downloading webpage with the url') cookie = urlh.headers.get('Set-Cookie', '') - data_encoded = compat_urllib_parse.urlencode(data) - complete_url = url + "?"+data_encoded - request = compat_urllib_request.Request(complete_url) - response = compat_urllib_request.urlopen(request) - #save our cookie - cookie = response.headers.get('Set-Cookie') - encoding = response.headers.get('Content-Type') - encoding = (encoding.split(';')[1]).split('=')[1] - #grab the HTML - html = response.read().decode(encoding) - response.close() track_list = [] list_data = re.search(r'',response) html_tracks = list_data.group(1)