This commit is contained in:
2026-01-10 14:36:25 +01:00
parent cd3ef62f62
commit cc8bb74657
3 changed files with 6 additions and 4 deletions

View File

@@ -31,6 +31,7 @@ def _extract_info(url: str) -> Dict:
"quiet": True,
"skip_download": True,
"noprogress": True,
"extractor_args": {"youtube": {"player_client": ["android", "web"]}},
}
with YoutubeDL(ydl_opts) as ydl:
return ydl.extract_info(url, download=False)
@@ -145,6 +146,7 @@ def download():
"noprogress": True,
"restrictfilenames": True,
"merge_output_format": "mp4",
"extractor_args": {"youtube": {"player_client": ["android", "web"]}},
}
if mode == "video":