This website works better with JavaScript.
Home
Help
Sign In
zolfa
/
youtube-dl
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
1.1k
Wiki
Activity
Browse Source
Don't install the global url opener
All the code uses now the urlopen method of YoutubeDL
totalwebcasting
Jaime Marquínez Ferrándiz
11 years ago
parent
19a41fc613
commit
a0792b738e
1 changed files
with
0 additions
and
3 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+0
-3
youtube_dl/YoutubeDL.py
+ 0
- 3
youtube_dl/YoutubeDL.py
View File
@ -1236,6 +1236,3 @@ class YoutubeDL(object):
# (See https://github.com/rg3/youtube-dl/issues/1309 for details)
opener
.
addheaders
=
[
]
self
.
_opener
=
opener
# TODO remove this global modification
compat_urllib_request
.
install_opener
(
opener
)
Write
Preview
Loading…
Cancel
Save