mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-08-03 10:50:28 +00:00
better Vimeo tests; fixed a couple of VimeoIE fields
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
|
||||
import sys
|
||||
import unittest
|
||||
import socket
|
||||
import json
|
||||
|
||||
# Allow direct execution
|
||||
@@ -22,7 +21,6 @@ cookie_processor = compat_urllib_request.HTTPCookieProcessor(jar)
|
||||
proxy_handler = compat_urllib_request.ProxyHandler()
|
||||
opener = compat_urllib_request.build_opener(proxy_handler, cookie_processor, YoutubeDLHandler())
|
||||
compat_urllib_request.install_opener(opener)
|
||||
socket.setdefaulttimeout(300) # 5 minutes should be enough (famous last words)
|
||||
|
||||
class FakeDownloader(object):
|
||||
def __init__(self):
|
||||
|
Reference in New Issue
Block a user