mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-01-05 06:21:01 +00:00
parent
7a7b1376fb
commit
f005a35aa7
1 changed files with 6 additions and 4 deletions
|
@ -3489,8 +3489,10 @@ def run_pp(self, pp, infodict):
|
||||||
return infodict
|
return infodict
|
||||||
|
|
||||||
def run_all_pps(self, key, info, *, additional_pps=None):
|
def run_all_pps(self, key, info, *, additional_pps=None):
|
||||||
|
try:
|
||||||
for pp in (additional_pps or []) + self._pps[key]:
|
for pp in (additional_pps or []) + self._pps[key]:
|
||||||
info = self.run_pp(pp, info)
|
info = self.run_pp(pp, info)
|
||||||
|
finally:
|
||||||
if key != 'video':
|
if key != 'video':
|
||||||
self._forceprint(key, info)
|
self._forceprint(key, info)
|
||||||
return info
|
return info
|
||||||
|
|
Loading…
Reference in a new issue