1
0
Fork 0

[dependencies] Create module with all dependency imports

This commit is contained in:
pukkandan 2022-04-21 00:35:57 +05:30
commit 9b8ee23b99
No known key found for this signature in database
GPG key ID: 7EEE9E1E817D0A39
13 changed files with 128 additions and 113 deletions

View file

@ -3,18 +3,10 @@ import os
import signal
import threading
try:
import websockets
except (ImportError, SyntaxError):
# websockets 3.10 on python 3.6 causes SyntaxError
# See https://github.com/yt-dlp/yt-dlp/issues/2633
has_websockets = False
else:
has_websockets = True
from .common import FileDownloader
from .external import FFmpegFD
from ..compat import asyncio
from ..dependencies import websockets
class FFmpegSinkFD(FileDownloader):