A feature-rich command-line audio/video downloader
Release 2022.10.04
pukkandan4e0511f27d15
diff --git a/CONTRIBUTORS b/CONTRIBUTORSindex 7859170568..264c087c2f 100644--- a/CONTRIBUTORS+++ b/CONTRIBUTORS@@ -309,3 +309,25 @@ shreyasminochatejasa97xenovsatan1st+0xGodspeed+5736d79+587021c+basrieter+Bobscorn+CNugteren+columndeeply+DoubleCouponDay+Fabi019+GautamMKGarg+Grub4K+itachi-19+jeroenj+josanabr+LiviaMedeiros+nikita-moor+snapdgn+SuperSonicHub1+tannertechnology+Timendum+tobi1805+TokyoBlackHolediff --git a/Changelog.md b/Changelog.mdindex 561b88ce63..d7600b0463 100644--- a/Changelog.md+++ b/Changelog.md@@ -11,6 +11,111 @@-->+### 2022.10.04++* Allow a `set` to be passed as `download_archive` by [pukkandan](https://github.com/pukkandan), [bashonly](https://github.com/bashonly)+* Allow open ranges for time ranges by [Lesmiscore](https://github.com/Lesmiscore)+* Allow plugin extractors to replace the built-in ones+* Don't download entire video when no matching `--download-sections`+* Fix `--config-location -`+* Improve [5736d79](https://github.com/yt-dlp/yt-dlp/pull/5044/commits/5736d79172c47ff84740d5720467370a560febad)+* Fix for when playlists don't have `webpage_url`+* Support environment variables in `--ffmpeg-location`+* Workaround `libc_ver` not be available on Windows Store version of Python+* [outtmpl] Curly braces to filter keys by [pukkandan](https://github.com/pukkandan)+* [outtmpl] Make `%s` work in strfformat for all systems+* [jsinterp] Workaround operator associativity issue+* [cookies] Let `_get_mac_keyring_password` fail gracefully+* [cookies] Parse cookies leniently by [Grub4K](https://github.com/Grub4K)+* [phantomjs] Fix bug in [587021c](https://github.com/yt-dlp/yt-dlp/commit/587021cd9f717181b44e881941aca3f8d753758b) by [elyse0](https://github.com/elyse0)+* [downloader/aria2c] Fix filename containing leading whitespace by [std-move](https://github.com/std-move)+* [downloader/ism] Support ec-3 codec by [nixxo](https://github.com/nixxo)+* [extractor] Fix `fatal=False` in `RetryManager`+* [extractor] Improve json-ld extraction+* [extractor] Make `_search_json` able to parse lists+* [extractor] Escape `%` in `representation_id` of m3u8+* [extractor/generic] Pass through referer from json-ld+* [utils] `base_url`: URL paths can contain `&` by [elyse0](https://github.com/elyse0)+* [utils] `js_to_json`: Improve+* [utils] `Popen.run`: Fix default return in binary mode+* [utils] `traverse_obj`: Rewrite, document and add tests by [Grub4K](https://github.com/Grub4K)+* [devscripts] `make_lazy_extractors`: Fix for Docker by [josanabr](https://github.com/josanabr)+* [docs] Misc Improvements+* [cleanup] Misc fixes and cleanup by [pukkandan](https://github.com/pukkandan), [gamer191](https://github.com/gamer191)+* [extractor/24tv.ua] Add extractors by [coletdjnz](https://github.com/coletdjnz)+* [extractor/BerufeTV] Add extractor by [Fabi019](https://github.com/Fabi019)+* [extractor/booyah] Add extractor by [HobbyistDev](https://github.com/HobbyistDev), [elyse0](https://github.com/elyse0)+* [extractor/bundesliga] Add extractor by [Fabi019](https://github.com/Fabi019)+* [extractor/GoPlay] Add extractor by [CNugteren](https://github.com/CNugteren), [basrieter](https://github.com/basrieter), [jeroenj](https://github.com/jeroenj)+* [extractor/iltalehti] Add extractor by [tpikonen](https://github.com/tpikonen)+* [extractor/IsraelNationalNews] Add extractor by [Bobscorn](https://github.com/Bobscorn)+* [extractor/mediaworksnzvod] Add extractor by [coletdjnz](https://github.com/coletdjnz)+* [extractor/MicrosoftEmbed] Add extractor by [DoubleCouponDay](https://github.com/DoubleCouponDay)+* [extractor/nbc] Add NBCStations extractor by [bashonly](https://github.com/bashonly)+* [extractor/onenewsnz] Add extractor by [coletdjnz](https://github.com/coletdjnz)+* [extractor/prankcast] Add extractor by [HobbyistDev](https://github.com/HobbyistDev), [columndeeply](https://github.com/columndeeply)+* [extractor/Smotrim] Add extractor by [Lesmiscore](https://github.com/Lesmiscore), [nikita-moor](https://github.com/nikita-moor)+* [extractor/tencent] Add Iflix extractor by [elyse0](https://github.com/elyse0)+* [extractor/unscripted] Add extractor by [HobbyistDev](https://github.com/HobbyistDev)+* [extractor/adobepass] Add MSO AlticeOne (Optimum TV) by [CplPwnies](https://github.com/CplPwnies)+* [extractor/youtube] **Download `post_live` videos from start** by [Lesmiscore](https://github.com/Lesmiscore), [pukkandan](https://github.com/pukkandan)+* [extractor/youtube] Add support for Shorts audio pivot feed by [coletdjnz](https://github.com/coletdjnz), [pukkandan](https://github.com/pukkandan)+* [extractor/youtube] Detect `lazy-load-for-videos` embeds+* [extractor/youtube] Do not warn on duplicate chapters+* [extractor/youtube] Fix video like count extraction by [coletdjnz](https://github.com/coletdjnz)+* [extractor/youtube] Support changing extraction language by [coletdjnz](https://github.com/coletdjnz)+* [extractor/youtube:tab] Improve continuation items extraction+* [extractor/youtube:tab] Support `reporthistory` page+* [extractor/amazonstore] Fix JSON extraction by [coletdjnz](https://github.com/coletdjnz), [pukkandan](https://github.com/pukkandan)+* [extractor/amazonstore] Retry to avoid captcha page by [Lesmiscore](https://github.com/Lesmiscore)+* [extractor/animeondemand] Remove extractor by [TokyoBlackHole](https://github.com/TokyoBlackHole)+* [extractor/anvato] Fix extractor and refactor by [bashonly](https://github.com/bashonly)+* [extractor/artetv] Remove duplicate stream urls by [Grub4K](https://github.com/Grub4K)+* [extractor/audioboom] Support direct URLs and refactor by [pukkandan](https://github.com/pukkandan), [tpikonen](https://github.com/tpikonen)+* [extractor/bandcamp] Extract `uploader_url`+* [extractor/bilibili] Add space.bilibili extractors by [lockmatrix](https://github.com/lockmatrix)+* [extractor/BilibiliSpace] Fix extractor and better error message by [lockmatrix](https://github.com/lockmatrix)+* [extractor/BiliIntl] Support uppercase lang in `_VALID_URL` by [coletdjnz](https://github.com/coletdjnz)+* [extractor/BiliIntlSeries] Fix `_VALID_URL`+* [extractor/bongacams] Update `_VALID_URL` by [0xGodspeed](https://github.com/0xGodspeed)+* [extractor/crunchyroll:beta] Improve handling of hardsubs by [Grub4K](https://github.com/Grub4K)+* [extractor/detik] Generalize extractors by [HobbyistDev](https://github.com/HobbyistDev), [coletdjnz](https://github.com/coletdjnz)+* [extractor/dplay:italy] Add default authentication by [Timendum](https://github.com/Timendum)+* [extractor/heise] Fix extractor by [coletdjnz](https://github.com/coletdjnz)+* [extractor/holodex] Fix `_VALID_URL` by [LiviaMedeiros](https://github.com/LiviaMedeiros)+* [extractor/hrfensehen] Fix extractor by [snapdgn](https://github.com/snapdgn)+* [extractor/hungama] Add subtitle by [GautamMKGarg](https://github.com/GautamMKGarg), [pukkandan](https://github.com/pukkandan)+* [extractor/instagram] Extract more metadata by [pritam20ps05](https://github.com/pritam20ps05)+* [extractor/JWPlatform] Fix extractor by [coletdjnz](https://github.com/coletdjnz)+* [extractor/malltv] Fix video_id extraction by [HobbyistDev](https://github.com/HobbyistDev)+* [extractor/MLBTV] Detect live streams+* [extractor/motorsport] Support native embeds+* [extractor/Mxplayer] Fix extractor by [itachi-19](https://github.com/itachi-19)+* [extractor/nebula] Add nebula.tv by [tannertechnology](https://github.com/tannertechnology)+* [extractor/nfl] Fix extractor by [bashonly](https://github.com/bashonly)+* [extractor/ondemandkorea] Update `jw_config` regex by [julien-hadleyjack](https://github.com/julien-hadleyjack)+* [extractor/paramountplus] Better DRM detection by [bashonly](https://github.com/bashonly)+* [extractor/patreon] Sort formats+* [extractor/rcs] Fix embed extraction by [coletdjnz](https://github.com/coletdjnz)+* [extractor/redgifs] Fix extractor by [jhwgh1968](https://github.com/jhwgh1968)+* [extractor/rutube] Fix `_EMBED_REGEX` by [coletdjnz](https://github.com/coletdjnz)+* [extractor/RUTV] Fix warnings for livestreams by [Lesmiscore](https://github.com/Lesmiscore)+* [extractor/soundcloud:search] More metadata in `--flat-playlist` by [SuperSonicHub1](https://github.com/SuperSonicHub1)+* [extractor/telegraaf] Use mobile GraphQL API endpoint by [coletdjnz](https://github.com/coletdjnz)+* [extractor/tennistv] Fix timestamp by [zenerdi0de](https://github.com/zenerdi0de)+* [extractor/tiktok] Fix TikTokIE by [bashonly](https://github.com/bashonly)+* [extractor/triller] Fix auth token by [bashonly](https://github.com/bashonly)+* [extractor/trovo] Fix extractors by [Mehavoid](https://github.com/Mehavoid)+* [extractor/tv2] Support new url format by [tobi1805](https://github.com/tobi1805)+* [extractor/web.archive:youtube] Fix `_YT_INITIAL_PLAYER_RESPONSE_RE`+* [extractor/wistia] Add support for channels by [coletdjnz](https://github.com/coletdjnz)+* [extractor/wistia] Match IDs in embed URLs by [bashonly](https://github.com/bashonly)+* [extractor/wordpress:playlist] Add generic embed extractor by [coletdjnz](https://github.com/coletdjnz)+* [extractor/yandexvideopreview] Update `_VALID_URL` by [Grub4K](https://github.com/Grub4K)+* [extractor/zee5] Fix `_VALID_URL` by [m4tu4g](https://github.com/m4tu4g)+* [extractor/zee5] Generate device ids by [freezboltz](https://github.com/freezboltz)++### 2022.09.01* Add option `--use-extractors`diff --git a/supportedsites.md b/supportedsites.mdindex 7b1e72016b..48888f61fa 100644--- a/supportedsites.md+++ b/supportedsites.md@@ -3,11 +3,12 @@- **0000studio:clip**- **17live**- **17live:clip**+ - **1News**: 1news.co.nz article videos- **1tv**: Первый канал- - **20.detik.com**- **20min**- **23video**- **247sports**+ - **24tv.ua**- **24video**- **3qsdn**: 3Q SDN- **3sat**@@ -134,6 +135,7 @@- **BehindKink**- **Bellator**- **BellMedia**+ - **BerufeTV**- **Bet**- **bfi:player**- **bfmtv**@@ -147,9 +149,11 @@- **Bilibili category extractor**- **BilibiliAudio**- **BilibiliAudioAlbum**- - **BilibiliChannel**- **BiliBiliPlayer**- **BiliBiliSearch**: Bilibili video search; "bilisearch:" prefix+ - **BilibiliSpaceAudio**+ - **BilibiliSpacePlaylist**+ - **BilibiliSpaceVideo**- **BiliIntl**: [<abbr title="netrc machine"><em>biliintl</em></abbr>]- **BiliIntlSeries**: [<abbr title="netrc machine"><em>biliintl</em></abbr>]- **BiliLive**@@ -167,6 +171,7 @@- **Bloomberg**- **BokeCC**- **BongaCams**+ - **BooyahClips**- **BostonGlobe**- **Box**- **Bpb**: Bundeszentrale für politische Bildung@@ -179,6 +184,7 @@- **BRMediathek**: Bayerischer Rundfunk Mediathek- **bt:article**: Bergens Tidende Articles- **bt:vestlendingen**: Bergens Tidende - Vestlendingen+ - **Bundesliga**- **BusinessInsider**- **BuzzFeed**- **BYUtv**@@ -247,6 +253,7 @@- **CNN**- **CNNArticle**- **CNNBlogs**+ - **CNNIndonesia**- **ComedyCentral**- **ComedyCentralTV**- **CondeNast**: Condé Nast media group: Allure, Architectural Digest, Ars Technica, Bon Appétit, Brides, Condé Nast, Condé Nast Traveler, Details, Epicurious, GQ, Glamour, Golf Digest, SELF, Teen Vogue, The New Yorker, Vanity Fair, Vogue, W Magazine, WIRED@@ -303,6 +310,7 @@- **defense.gouv.fr**- **democracynow**- **DestinationAmerica**+ - **DetikEmbed**- **DHM**: Filmarchiv - Deutsches Historisches Museum- **Digg**- **DigitalConcertHall**: [<abbr title="netrc machine"><em>digitalconcerthall</em></abbr>] DigitalConcertHall extractor@@ -478,6 +486,7 @@- **google:podcasts:feed**- **GoogleDrive**- **GoogleDrive:Folder**+ - **GoPlay**: [<abbr title="netrc machine"><em>goplay</em></abbr>]- **GoPro**- **Goshgay**- **GoToStage**@@ -527,11 +536,14 @@- **Hypem**- **Hytale**- **Icareus**+ - **iflix:episode**+ - **IflixSeries**- **ign.com**- **IGNArticle**- **IGNVideo**- **IHeartRadio**- **iheartradio:podcast**+ - **Iltalehti**- **imdb**: Internet Movie Database trailers- **imdb:list**: Internet Movie Database lists- **Imgur**@@ -556,6 +568,7 @@- **iqiyi**: [<abbr title="netrc machine"><em>iqiyi</em></abbr>] 爱奇艺- **IslamChannel**- **IslamChannelSeries**+ - **IsraelNationalNews**- **ITProTV**- **ITProTVCourse**- **ITTF**@@ -688,6 +701,7 @@- **Mediasite**- **MediasiteCatalog**- **MediasiteNamedCatalog**+ - **MediaWorksNZVOD**- **Medici**- **megaphone.fm**: megaphone.fm embedded players- **megatvcom**: megatv.com videos@@ -700,6 +714,7 @@- **mewatch**- **Mgoon**- **MiaoPai**+ - **MicrosoftEmbed**- **microsoftstream**: Microsoft Stream- **mildom**: Record ongoing live by specific user in Mildom- **mildom:clip**: Clip in Mildom@@ -799,6 +814,7 @@- **NBCSports**- **NBCSportsStream**- **NBCSportsVPlayer**+ - **NBCStations**- **ndr**: NDR.de - Norddeutscher Rundfunk- **ndr:embed**- **ndr:embed:base**@@ -833,8 +849,8 @@- **NexxEmbed**- **NFB**- **NFHSNetwork**- - **nfl.com**: (**Currently broken**)- - **nfl.com:article**: (**Currently broken**)+ - **nfl.com**+ - **nfl.com:article**- **NhkForSchoolBangumi**- **NhkForSchoolProgramList**- **NhkForSchoolSubject**: Portal page for each school subjects, like Japanese (kokugo, 国語) or math (sansuu/suugaku or 算数・数学)@@ -1012,6 +1028,7 @@- **PornoVoisines**- **PornoXO**- **PornTube**+ - **PrankCast**- **PremiershipRugby**- **PressTV**- **ProjectVeritas**@@ -1192,6 +1209,7 @@- **Slideshare**- **SlidesLive**- **Slutload**+ - **Smotrim**- **Snotr**- **Sohu**- **SonyLIV**: [<abbr title="netrc machine"><em>sonyliv</em></abbr>]@@ -1221,8 +1239,8 @@- **Sport5**- **SportBox**- **SportDeutschland**- - **spotify**: Spotify episodes- - **spotify:show**: Spotify shows+ - **spotify**: Spotify episodes (**Currently broken**)+ - **spotify:show**: Spotify shows (**Currently broken**)- **Spreaker**- **SpreakerPage**- **SpreakerShow**@@ -1316,10 +1334,10 @@- **ThreeSpeak**- **ThreeSpeakUser**- **TikTok**- - **tiktok:effect**- - **tiktok:sound**- - **tiktok:tag**- - **tiktok:user**+ - **tiktok:effect**: (**Currently broken**)+ - **tiktok:sound**: (**Currently broken**)+ - **tiktok:tag**: (**Currently broken**)+ - **tiktok:user**: (**Currently broken**)- **tinypic**: tinypic.com videos- **TLC**- **TMZ**@@ -1360,6 +1378,7 @@- **Turbo**- **tv.dfb.de**- **TV2**+ - **TV24UAGenericPassthrough**- **TV2Article**- **TV2DK**- **TV2DKBornholmPlay**@@ -1422,6 +1441,7 @@- **umg:de**: Universal Music Deutschland- **Unistra**- **Unity**+ - **UnscriptedNewsVideo**- **uol.com.br**- **uplynk**- **uplynk:preplay**@@ -1466,8 +1486,6 @@- **VidioLive**: [<abbr title="netrc machine"><em>vidio</em></abbr>]- **VidioPremier**: [<abbr title="netrc machine"><em>vidio</em></abbr>]- **VidLii**- - **vier**: [<abbr title="netrc machine"><em>vier</em></abbr>] vier.be and vijf.be- - **vier:videos**- **viewlift**- **viewlift:embed**- **Viidea**@@ -1563,8 +1581,10 @@- **Willow**- **WimTV**- **Wistia**+ - **WistiaChannel**- **WistiaPlaylist**- **wnl**: npo.nl, ntr.nl, omroepwnl.nl, zapp.nl and npo3.nl+ - **wordpress:playlist**- **WorldStarHipHop**- **wppilot**- **wppilot:channels**@@ -1628,6 +1648,7 @@- **youtube:search**: YouTube search; "ytsearch:" prefix- **youtube:search:date**: YouTube search, newest videos first; "ytsearchdate:" prefix- **youtube:search_url**: YouTube search URLs with sorting and filter support+ - **youtube:shorts:pivot:audio**: YouTube Shorts audio pivot (Shorts using audio of a given video)- **youtube:stories**: YouTube channel stories; "ytstories:" prefix- **youtube:subscriptions**: YouTube subscriptions feed; ":ytsubs" keyword (requires cookies)- **youtube:tab**: YouTube Tabs