github yt-dlp/yt-dlp 2021.09.02
yt-dlp 2021.09.02

latest releases: 2024.04.09, 2024.03.10, 2023.12.30...
2 years ago

Changelog:

  • Native SponsorBlock implementation by nihil-admirari, pukkandan
    • --sponsorblock-remove CATS removes specified chapters from file
    • --sponsorblock-mark CATS marks the specified sponsor sections as chapters
    • --sponsorblock-chapter-title TMPL to specify sponsor chapter template
    • --sponsorblock-api URL to use a different API
    • No re-encoding is done unless --force-keyframes-at-cuts is used
    • The fetched sponsor sections are written to the infojson
    • Deprecates: --sponskrub, --no-sponskrub, --sponskrub-cut, --no-sponskrub-cut, --sponskrub-force, --no-sponskrub-force, --sponskrub-location, --sponskrub-args
  • Split --embed-chapters from --embed-metadata (it still implies the former by default)
  • Add option --remove-chapters to remove arbitrary chapters by nihil-admirari, pukkandan
  • Add option --force-keyframes-at-cuts for more accurate cuts when removing and splitting chapters by nihil-admirari
  • Let --match-filter reject entries early
    • Makes redundant: --match-title, --reject-title, --min-views, --max-views
  • [lazy_extractor] Improvements (It now passes all tests)
    • Bugfix for when plugin directory doesn't exist by kidonng
    • Create instance only after pre-checking archive
    • Import actual class if an attribute is accessed
    • Fix suitable and add flake8 test
  • [downloader/ffmpeg] Experimental support for DASH manifests (including live)
    • Your ffmpeg must have this patch applied for YouTube DASH to work
  • [downloader/ffmpeg] Allow passing custom arguments before -i

New extractors

Fixed extractors

  • [adobepass] Fix Verizon SAML login by nyuszika7h, ParadoxGBB
  • [afreecatv] Fix adult VODs by wlritchi
  • [afreecatv] Tolerate failure to parse date string by wlritchi
  • [aljazeera] Fix extractor by MinePlayersPE
  • [ATV.at] Fix extractor for ATV.at by NeroBurner, coletdjnz
  • [bitchute] Fix test by mahanstreamer
  • [camtube] Remove obsolete extractor by alerikaisattera
  • [CDA] Add more formats by u-spec-png
  • [eroprofile] Fix page skipping in albums by jhwgh1968
  • [facebook] Fix format sorting
  • [facebook] Fix metadata extraction by kikuyan
  • [facebook] Update onion URL by Derkades
  • [HearThisAtIE] Fix extractor by Ashish0804
  • [instagram] Add referrer to prevent throttling by u-spec-png, kikuyan
  • [iwara.tv] Extract more metadata by BunnyHelp
  • [iwara] Add thumbnail by i6t
  • [kakao] Fix extractor
  • [mediaset] Fix extraction for some videos by nyuszika7h
  • [Motherless] Fix extractor by coletdjnz
  • [Nova] fix extractor by std-move
  • [ParamountPlus] Fix geo verification by shirt
  • [peertube] handle new video URL format by Chocobozzz
  • [pornhub] Separate and fix playlist extractor by mzbaulhaque
  • [reddit] Fix for quarantined subreddits by ouwou
  • [ShemarooMe] Fix extractor by Ashish0804
  • [soundcloud] Refetch client_id on 403
  • [tiktok] Fix metadata extraction
  • [TV2] Fix extractor by Ashish0804
  • [tv5mondeplus] Fix extractor by korli
  • [VH1,TVLand] Fix extractors by Sipherdrakon
  • [Viafree] Fix extractor and extract subtitles by coletdjnz
  • [XHamster] Extract uploader_id by octotherp
  • [youtube] Add shorts to _VALID_URL
  • [youtube] Add av01 itags to known formats list by blackjack4494
  • [youtube] Extract error messages from HTTPError response by coletdjnz
  • [youtube] Fix subtitle names
  • [youtube] Prefer audio stream that YouTube considers default
  • [youtube] Remove annotations and deprecate --write-annotations by coletdjnz
  • [Zee5] Fix extractor and add subtitles by Ashish0804

Bug fixes

  • [aria2c] Obey --rate-limit
  • [EmbedSubtitle] Continue even if some files are missing
  • [extractor] Better error message for DRM
  • [extractor] Common function _match_valid_url
  • [extractor] Show video id in error messages if possible
  • [FormatSort] Remove priority of lang
  • [options] Add _set_from_options_callback
  • [SubtitleConvertor] Fix bug during subtitle conversion
  • [utils] Add parse_qs
  • [webvtt] Fix timestamp overflow adjustment by fstirlitz
  • Bugfix for --replace-in-metadata
  • Don't try to merge with final extension
  • Fix --force-overwrites when using -k
  • Fix --no-prefer-free-formats by CeruleanSky
  • Fix -F for extractors that directly return url
  • Fix -J when there are failed videos
  • Fix extra_info being reused across runs
  • Fix playlist_index not obeying playlist_start and add tests
  • Fix resuming of single formats when using --no-part
  • Revert erroneous use of the Content-Length header by fstirlitz
  • Use os.replace where applicable by; paulwrubel
  • [build] Add homebrew taps yt-dlp/taps/yt-dlp by nao20010128nao
  • [build] Fix bug in making yt-dlp.tar.gz
  • [docs] Fix some typos by pukkandan, zootedb0t
  • [cleanup] Replace improper use of tab in trovo by glenn-slayden

For sponskrub users:

  • sponskrub support has been deprecated in favor of a native implementation
  • If you were using sponskrub to mark chapters in video, use --sponsorblock-mark all instead
  • If you were cutting out portions, use --sponsorblock-remove all
  • There are a few more new options available now. See SponsorBlock Options for details

Don't miss a new yt-dlp release

NewReleases is sending notifications on new releases.