mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-14 20:38:11 -05:00
Removed unneccesary changes to utils.py
This commit is contained in:
parent
03359e9864
commit
2f61fe4ccc
1 changed files with 0 additions and 3 deletions
|
@ -6,7 +6,6 @@
|
|||
import contextlib
|
||||
import ctypes
|
||||
import datetime
|
||||
import time
|
||||
import email.utils
|
||||
import errno
|
||||
import getpass
|
||||
|
@ -748,8 +747,6 @@ def http_request(self, req):
|
|||
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):
|
||||
|
|
Loading…
Reference in a new issue