added debug logging for postprocessor_hook
This commit is contained in:
parent
d9b905fbde
commit
ee8151ed64
1 changed files with 3 additions and 0 deletions
|
|
@ -97,6 +97,9 @@ class Download:
|
|||
if data.get("postprocessor") != "MoveFiles" or data.get("status") != "finished":
|
||||
return
|
||||
|
||||
if self.debug:
|
||||
LOG.debug(f"Postprocessor hook: {data}")
|
||||
|
||||
if "__finaldir" in data["info_dict"]:
|
||||
filename = os.path.join(data["info_dict"]["__finaldir"], os.path.basename(data["info_dict"]["filepath"]))
|
||||
else:
|
||||
|
|
|
|||
Loading…
Reference in a new issue