Removed unneccesary changes to utils.py
This commit is contained in:
		| @@ -6,7 +6,6 @@ import codecs | |||||||
| import contextlib | import contextlib | ||||||
| import ctypes | import ctypes | ||||||
| import datetime | import datetime | ||||||
| import time |  | ||||||
| import email.utils | import email.utils | ||||||
| import errno | import errno | ||||||
| import getpass | import getpass | ||||||
| @@ -748,8 +747,6 @@ class YoutubeDLHandler(compat_urllib_request.HTTPHandler): | |||||||
|                 del req.headers['User-agent'] |                 del req.headers['User-agent'] | ||||||
|             req.headers['User-agent'] = req.headers['Youtubedl-user-agent'] |             req.headers['User-agent'] = req.headers['Youtubedl-user-agent'] | ||||||
|             del req.headers['Youtubedl-user-agent'] |             del req.headers['Youtubedl-user-agent'] | ||||||
|         #print("sleeping\n") |  | ||||||
|         #time.sleep(1) |  | ||||||
|         return req |         return req | ||||||
|  |  | ||||||
|     def http_response(self, req, resp): |     def http_response(self, req, resp): | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 rupertbaxter2
					rupertbaxter2