aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/options.py
diff options
context:
space:
mode:
authorpukkandan <pukkandan.ytdlp@gmail.com>2022-04-12 04:02:57 +0530
committerpukkandan <pukkandan.ytdlp@gmail.com>2022-04-12 05:32:52 +0530
commitf82711587cee043cb2496fe180b5cc0e07c06eda (patch)
tree9c6bf7952657a78a93200fc7d90013990fdc8585 /yt_dlp/options.py
parent86e5f3ed2e6e71eb81ea4c9e26288f16119ffd0c (diff)
downloadhypervideo-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/options.py')
-rw-r--r--yt_dlp/options.py29
1 files changed, 12 insertions, 17 deletions
diff --git a/yt_dlp/options.py b/yt_dlp/options.py
index c434e32b9..243beab4d 100644
--- a/yt_dlp/options.py
+++ b/yt_dlp/options.py
@@ -1,26 +1,11 @@
-import os.path
import optparse
+import os.path
import re
import shlex
import sys
-from .compat import (
- compat_expanduser,
- compat_get_terminal_size,
- compat_getenv,
-)
-from .utils import (
- Config,
- expand_path,
- get_executable_path,
- OUTTMPL_TYPES,
- POSTPROCESS_WHEN,
- remove_end,
- write_string,
-)
+from .compat import compat_expanduser, compat_get_terminal_size, compat_getenv
from .cookies import SUPPORTED_BROWSERS, SUPPORTED_KEYRINGS
-from .version import __version__
-
from .downloader.external import list_external_downloaders
from .postprocessor import (
FFmpegExtractAudioPP,
@@ -30,6 +15,16 @@ from .postprocessor import (
SponsorBlockPP,
)
from .postprocessor.modify_chapters import DEFAULT_SPONSORBLOCK_CHAPTER_TITLE
+from .utils import (
+ OUTTMPL_TYPES,
+ POSTPROCESS_WHEN,
+ Config,
+ expand_path,
+ get_executable_path,
+ remove_end,
+ write_string,
+)
+from .version import __version__
def parseOpts(overrideArguments=None, ignore_config_files='if_override'):