diff options
author | pukkandan <pukkandan.ytdlp@gmail.com> | 2022-04-12 04:02:57 +0530 |
---|---|---|
committer | pukkandan <pukkandan.ytdlp@gmail.com> | 2022-04-12 05:32:52 +0530 |
commit | f82711587cee043cb2496fe180b5cc0e07c06eda (patch) | |
tree | 9c6bf7952657a78a93200fc7d90013990fdc8585 /yt_dlp/downloader/http.py | |
parent | 86e5f3ed2e6e71eb81ea4c9e26288f16119ffd0c (diff) | |
download | hypervideo-pre-f82711587cee043cb2496fe180b5cc0e07c06eda.tar.lz hypervideo-pre-f82711587cee043cb2496fe180b5cc0e07c06eda.tar.xz hypervideo-pre-f82711587cee043cb2496fe180b5cc0e07c06eda.zip |
[cleanup] Sort imports
Using https://github.com/PyCQA/isort
isort -m VERTICAL_HANGING_INDENT --py 36 -l 80 --rr -n --tc .
Diffstat (limited to 'yt_dlp/downloader/http.py')
-rw-r--r-- | yt_dlp/downloader/http.py | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/yt_dlp/downloader/http.py b/yt_dlp/downloader/http.py index 03efbf1cd..d590dbfbd 100644 --- a/yt_dlp/downloader/http.py +++ b/yt_dlp/downloader/http.py @@ -1,24 +1,21 @@ import os +import random import ssl import time -import random from .common import FileDownloader -from ..compat import ( - compat_urllib_error, - compat_http_client -) +from ..compat import compat_http_client, compat_urllib_error from ..utils import ( ContentTooShortError, + ThrottledDownload, + XAttrMetadataError, + XAttrUnavailableError, encodeFilename, int_or_none, parse_http_range, sanitized_Request, - ThrottledDownload, try_call, write_xattr, - XAttrMetadataError, - XAttrUnavailableError, ) RESPONSE_READ_EXCEPTIONS = (TimeoutError, ConnectionError, ssl.SSLError, compat_http_client.HTTPException) |