X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=youtube_dl%2Fdownloader%2Fhttp.py;h=dbc5af3ca619b6b4086203ce2a7bcbf3a1897a33;hb=1538eff6d8ee73f2ae4ac1dd832a9ef978c63074;hp=54dc7616bd2a92941e71a3b17d4c400104d0682a;hpb=00b2685b9ceecbeb5a5ea1cb7bd1ff2772e941de;p=youtube-dl diff --git a/youtube_dl/downloader/http.py b/youtube_dl/downloader/http.py index 54dc7616b..dbc5af3ca 100644 --- a/youtube_dl/downloader/http.py +++ b/youtube_dl/downloader/http.py @@ -52,8 +52,6 @@ class HttpFD(FileDownloader): while count <= retries: # Establish connection try: - if count == 0 and 'urlhandle' in info_dict: - data = info_dict['urlhandle'] data = compat_urllib_request.urlopen(request) break except (compat_urllib_error.HTTPError, ) as err: