aboutsummaryrefslogtreecommitdiff
path: root/ytdlp_plugins/postprocessor/sample.py
AgeCommit message (Collapse)Author
2023-01-01Improve plugin architecture (#5553)Matthew
to make plugins easier to develop and use: * Plugins are now loaded as namespace packages. * Plugins can be loaded in any distribution of yt-dlp (binary, pip, source, etc.). * Plugin packages can be installed and managed via pip, or dropped into any of the documented locations. * Users do not need to edit any code files to install plugins. * Backwards-compatible with previous plugin architecture. As a side-effect, yt-dlp will now search in a few more locations for config files. Closes https://github.com/yt-dlp/yt-dlp/issues/1389 Authored by: flashdagger, coletdjnz, pukkandan, Grub4K Co-authored-by: Marcel <flashdagger@googlemail.com> Co-authored-by: pukkandan <pukkandan.ytdlp@gmail.com> Co-authored-by: Simon Sawicki <accounts@grub4k.xyz>
2022-04-12[cleanup] Upgrade syntaxpukkandan
Using https://github.com/asottile/pyupgrade 1. `__future__` imports and `coding: utf-8` were removed 2. Files were rewritten with `pyupgrade --py36-plus --keep-percent-format` 3. f-strings were cherry-picked from `pyupgrade --py36-plus` Extractors are left untouched (except removing header) to avoid unnecessary merge conflicts
2022-01-03Add key `requested_downloads` in the root `info_dict`pukkandan
2022-01-03Add more post-processing stagespukkandan
playlist = After entire playlist after_video = After downloading all formats of a video
2021-09-30[postprocessor] Add plugin supportpukkandan
Adds option `--use-postprocessor` to enable them