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

Removed unneccesary changes to utils.py

This commit is contained in:
rupertbaxter2 2014-08-03 07:38:04 -07:00
parent 03359e9864
commit 2f61fe4ccc

View file

@ -6,7 +6,6 @@ import codecs
import contextlib
import ctypes
import datetime
import time
import email.utils
import errno
import getpass
@ -748,8 +747,6 @@ class YoutubeDLHandler(compat_urllib_request.HTTPHandler):
del req.headers['User-agent']
req.headers['User-agent'] = req.headers['Youtubedl-user-agent']
del req.headers['Youtubedl-user-agent']
#print("sleeping\n")
#time.sleep(1)
return req
def http_response(self, req, resp):