make ExtractInfo even for downloaded files.

This commit is contained in:
ArabCoders 2023-12-07 15:45:52 +03:00
parent bbc57113b6
commit 8e5b1390ff

View file

@ -171,6 +171,9 @@ def ExtractInfo(config: dict, url: str, debug: bool = False) -> dict:
**config,
}
if "download_archive" in params:
del params["download_archive"]
if debug:
params['verbose'] = True
params['logger'] = logging.getLogger('YTPTube-ytdl')