]> jfr.im git - yt-dlp.git/commit
Allow `images` formats
authorpukkandan <redacted>
Sat, 12 Jun 2021 20:02:19 +0000 (01:32 +0530)
committerpukkandan <redacted>
Sat, 12 Jun 2021 22:15:53 +0000 (03:45 +0530)
commit8326b00aabc332cad3edec246fe5353bea069cb0
tree286e543dd7b6b447b797ceae8bd8655999f97970
parentb0249bcaf0f2ac1fafecbf5d44f7403c6f0d5850
Allow `images` formats
Necessary for #343.

* They are identified by `vcodec=acodec='none'`
* These formats show as the worst in `-F`
* Any postprocessor that expects audio/video will be skipped
* `b*` and all related selectors will skip such formats
* This commit also does not add any selector for downloading such formats. They have to be explicitly requested by the `format_id`. Implementation of a selector is left for when #389 is resolved
yt_dlp/YoutubeDL.py
yt_dlp/extractor/common.py
yt_dlp/postprocessor/common.py
yt_dlp/postprocessor/embedthumbnail.py
yt_dlp/postprocessor/ffmpeg.py
yt_dlp/postprocessor/sponskrub.py