make ExtractInfo even for downloaded files.
This commit is contained in:
parent
bbc57113b6
commit
8e5b1390ff
1 changed files with 3 additions and 0 deletions
|
|
@ -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')
|
||||
|
|
|
|||
Loading…
Reference in a new issue