Reorder and fix --disable-wvd CLI option placement

This commit is contained in:
Rafael Moraes
2025-07-04 20:24:10 -03:00
parent fdd2218ea4
commit e7f9341e6b
+6 -6
View File
@@ -102,6 +102,11 @@ def load_config_file(
default=5,
help="Wait interval between downloads in seconds.",
)
@click.option(
"--disable-wvd",
is_flag=True,
help="Disable Widevine decryption.",
)
@click.option(
"--download-music-videos",
is_flag=True,
@@ -278,11 +283,6 @@ def load_config_file(
is_flag=True,
help="Overwrite existing files.",
)
@click.option(
"--disable-wvd",
is_flag=True,
help="Disable Widevine decryption.",
)
@click.option(
"--exclude-tags",
type=str,
@@ -352,6 +352,7 @@ def load_config_file(
def main(
urls: list[str],
wait_interval: float,
disable_wvd: bool,
download_music_videos: bool,
download_podcast_videos: bool,
force_premium: bool,
@@ -383,7 +384,6 @@ def main(
save_cover: bool,
save_playlist: bool,
overwrite: bool,
disable_wvd: bool,
exclude_tags: str,
truncate: int,
audio_quality: AudioQuality,