Plugins for yt-dlp
max_thumbnail_width
: Defaults to12000
max_thumbnail_height
: Defaults to12000
thumbnail_extension
: Defaults tojpg
thumbnail_quality
: Must be an integer between0
and999
. Higher is better. Defaults to999
Note: Lyrics extraction is only possible if you have an active subscription and
pass the Media-User-Token
header. You can find this token by opening Developer
Tools in your browser and looking for API calls to amp-api.music.apple.com
.
Keep in mind that lyrics extraction will silently fail if the region code in the
provided URL differs from your account's region setting.
region
: ISO 3166-2 country code to pass to the API when extracting metadatalanguage
: ISO 639-1 language code to pass to the API when extracting metadataplayback_scenario
: Specifies the API endpoint to use when extracting formats
This postprocessor is intended to be used alongside the Apple Music extractors.
embed_metadata
: Whether to embed metadata in the file. Specifymutagen
to embed extended metadata usingmutagen
. Embedding is done usingmp4box
where possible, so the majority of the metadata fields can still be embedded even ifmutagen
is unavailable (seemp4box.py
for details on which fields are embedded and when).embed_thumbnail
: Whether to embed thumbnail in the file. Specifydelete
to delete the thumbnail after embedding. You can combine this option withmax_thumbnail_*
to control the size of the thumbnail to be embedded.embed_credits
: Whether to embed credits in the MP4 file. This options has no effect ifmutagen
is not enabled. The exact names of keys (e.g.Mastering Engineer
,Songwriter
) depend on the language code you pass via the URL (e.g.?l=en-GB
) and the region's default language, since Apple returns localized names. Important note: if a localized key contains non-Latin characters, it will be silently ignored.path
: Path to the executable. Defaults tomp4box
, which will only work ifmp4box
is in yourPATH
.
embed_metadata
and embed_thumbnail
will be done in the same step if both are
specified.
Some of the websites listed are known to use DRM. Extractors for these sites are provided for informational/demonstration purposes only and will not enable you to decrypt DRM-protected content. This project is not affiliated with or endorsed by the yt-dlp project.
The Unlicense, see LICENSE.txt
for details