mirror of
https://github.com/yt-dlp/yt-dlp
synced 2024-12-03 20:05:19 +01:00
parent
7a7b1376fb
commit
f005a35aa7
@ -3489,10 +3489,12 @@ class YoutubeDL:
|
|||||||
return infodict
|
return infodict
|
||||||
|
|
||||||
def run_all_pps(self, key, info, *, additional_pps=None):
|
def run_all_pps(self, key, info, *, additional_pps=None):
|
||||||
for pp in (additional_pps or []) + self._pps[key]:
|
try:
|
||||||
info = self.run_pp(pp, info)
|
for pp in (additional_pps or []) + self._pps[key]:
|
||||||
if key != 'video':
|
info = self.run_pp(pp, info)
|
||||||
self._forceprint(key, info)
|
finally:
|
||||||
|
if key != 'video':
|
||||||
|
self._forceprint(key, info)
|
||||||
return info
|
return info
|
||||||
|
|
||||||
def pre_process(self, ie_info, key='pre_process', files_to_move=None):
|
def pre_process(self, ie_info, key='pre_process', files_to_move=None):
|
||||||
|
Loading…
Reference in New Issue
Block a user