projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03359e9
)
Removed unneccesary changes to utils.py
author
rupertbaxter2
<rupertbaxter2@yahoo.com>
Sun, 3 Aug 2014 14:38:04 +0000
(07:38 -0700)
committer
rupertbaxter2
<rupertbaxter2@yahoo.com>
Sun, 3 Aug 2014 14:38:04 +0000
(07:38 -0700)
youtube_dl/utils.py
patch
|
blob
|
history
diff --git
a/youtube_dl/utils.py
b/youtube_dl/utils.py
index d199d26d26f6e1c4077021c05e8e19f7f7d9feb3..e40b367c255719046bf2d5dd2fd63bc6bb2e4d8a 100644
(file)
--- a/
youtube_dl/utils.py
+++ b/
youtube_dl/utils.py
@@
-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):