A feature-rich command-line audio/video downloader
Release 2022.06.22
pukkandan0af80bcf70a8
diff --git a/.github/ISSUE_TEMPLATE/6_question.yml b/.github/ISSUE_TEMPLATE/6_question.ymlindex 8b434aef06..454989c226 100644--- a/.github/ISSUE_TEMPLATE/6_question.yml+++ b/.github/ISSUE_TEMPLATE/6_question.yml@@ -13,6 +13,8 @@ body:required: true- label: I've looked through the [README](https://github.com/yt-dlp/yt-dlp#readme)required: true+ - label: I've verified that I'm running yt-dlp version **2022.05.18** ([update instructions](https://github.com/yt-dlp/yt-dlp#update)) or later (specify commit)+ required: true- label: I've searched the [bugtracker](https://github.com/yt-dlp/yt-dlp/issues?q=) for similar questions including closed ones. DO NOT post duplicatesrequired: true- label: I've read the [guidelines for opening an issue](https://github.com/yt-dlp/yt-dlp/blob/master/CONTRIBUTING.md#opening-an-issue)diff --git a/CONTRIBUTORS b/CONTRIBUTORSindex 14d7e2b71a..17a1d192d4 100644--- a/CONTRIBUTORS+++ b/CONTRIBUTORS@@ -248,3 +248,22 @@ rand-netvertanWikidepiaYipten+moench-tegeder+christoph-heinrich+HobbyistDev+LunarFang416+sbor23+aurelg+adamanldo+gamer191+vkorablin+Burve+mnn+ZhymabekRoman+mozbugbox+aejdl+ping+sqrtNOT+bubbleguuum+darkxex+miserandiff --git a/Changelog.md b/Changelog.mdindex ad81905da7..a5f193c3c9 100644--- a/Changelog.md+++ b/Changelog.md@@ -11,6 +11,127 @@-->+### 2022.06.22++* [**Deprecate support for Python 3.6**](https://github.com/yt-dlp/yt-dlp/issues/3764#issuecomment-1154051119)+* **Add option `--download-sections` to download video partially**+ * Chapter regex and time ranges are accepted (Eg: `--download-sections *1:10-2:20`)+* Add option `--alias`+* Add option `--lazy-playlist` to process entries as they are received+* Add option `--retry-sleep`+* Add slicing notation to `--playlist-items`+ * Adds support for negative indices and step+ * Add `-I` as alias for `--playlist-index`+ * Makes `--playlist-start`, `--playlist-end`, `--playlist-reverse`, `--no-playlist-reverse` redundant+* `--config-location -` to provide options interactively+* [build] Add Linux standalone builds+* [update] Self-restart after update+* Merge youtube-dl: Upto [commit/8a158a9](https://github.com/ytdl-org/youtube-dl/commit/8a158a9)+* Add `--no-update`+* Allow extractors to specify section_start/end for clips+* Do not print progress to `stderr` with `-q`+* Ensure pre-processor errors do not block video download+* Fix `--simulate --max-downloads`+* Improve error handling of bad config files+* Return an error code if update fails+* Fix bug in [3a408f9](https://github.com/yt-dlp/yt-dlp/commit/3a408f9d199127ca2626359e21a866a09ab236b3)+* [ExtractAudio] Allow conditional conversion+* [ModifyChapters] Fix repeated removal of small segments+* [ThumbnailsConvertor] Allow conditional conversion+* [cookies] Detect profiles for cygwin/BSD by [moench-tegeder](https://github.com/moench-tegeder)+* [dash] Show fragment count with `--live-from-start` by [flashdagger](https://github.com/flashdagger)+* [extractor] Add `_search_json` by [coletdjnz](https://github.com/coletdjnz), [pukkandan](https://github.com/pukkandan)+* [extractor] Add `default` parameter to `_search_json` by [coletdjnz](https://github.com/coletdjnz), [pukkandan](https://github.com/pukkandan)+* [extractor] Add dev option `--load-pages`+* [extractor] Handle `json_ld` with multiple `@type`s+* [extractor] Import `_ALL_CLASSES` lazily+* [extractor] Recognize `src` attribute from HTML5 media elements by [Lesmiscore](https://github.com/Lesmiscore)+* [extractor/generic] Revert e6ae51c123897927eb3c9899923d8ffd31c7f85d+* [f4m] Bugfix+* [ffmpeg] Check version lazily+* [jsinterp] Some optimizations and refactoring by [dirkf](https://github.com/dirkf), [pukkandan](https://github.com/pukkandan)+* [utils] Improve performance using `functools.cache`+* [utils] Send HTTP/1.1 ALPN extension by [coletdjnz](https://github.com/coletdjnz)+* [utils] `ExtractorError`: Fix `exc_info`+* [utils] `ISO3166Utils`: Add `EU` and `AP`+* [utils] `Popen`: Refactor to use contextmanager+* [utils] `locked_file`: Fix for PyPy on Windows+* [update] Expose more functionality to API+* [update] Use `.git` folder to distinguish `source`/`unknown`+* [compat] Add `functools.cached_property`+* [test] Fix `FakeYDL` signatures by [coletdjnz](https://github.com/coletdjnz)+* [docs] Improvements+* [cleanup, ExtractAudio] Refactor+* [cleanup, downloader] Refactor `report_progress`+* [cleanup, extractor] Refactor `_download_...` methods+* [cleanup, extractor] Rename `extractors.py` to `_extractors.py`+* [cleanup, utils] Don't use kwargs for `format_field`+* [cleanup, build] Refactor+* [cleanup, docs] Re-indent "Usage and Options" section+* [cleanup] Deprecate `YoutubeDL.parse_outtmpl`+* [cleanup] Misc fixes and cleanup by [Lesmiscore](https://github.com/Lesmiscore), [MrRawes](https://github.com/MrRawes), [christoph-heinrich](https://github.com/christoph-heinrich), [flashdagger](https://github.com/flashdagger), [gamer191](https://github.com/gamer191), [kwconder](https://github.com/kwconder), [pukkandan](https://github.com/pukkandan)+* [extractor/DailyWire] Add extractors by [HobbyistDev](https://github.com/HobbyistDev), [pukkandan](https://github.com/pukkandan)+* [extractor/fourzerostudio] Add extractors by [Lesmiscore](https://github.com/Lesmiscore)+* [extractor/GoogleDrive] Add folder extractor by [evansp](https://github.com/evansp), [pukkandan](https://github.com/pukkandan)+* [extractor/MirrorCoUK] Add extractor by [LunarFang416](https://github.com/LunarFang416), [pukkandan](https://github.com/pukkandan)+* [extractor/atscaleconfevent] Add extractor by [Ashish0804](https://github.com/Ashish0804)+* [extractor/freetv] Add extractor by [elyse0](https://github.com/elyse0)+* [extractor/ixigua] Add Extractor by [HobbyistDev](https://github.com/HobbyistDev)+* [extractor/kicker.de] Add extractor by [HobbyistDev](https://github.com/HobbyistDev)+* [extractor/netverse] Add extractors by [HobbyistDev](https://github.com/HobbyistDev), [pukkandan](https://github.com/pukkandan)+* [extractor/playsuisse] Add extractor by [pukkandan](https://github.com/pukkandan), [sbor23](https://github.com/sbor23)+* [extractor/substack] Add extractor by [elyse0](https://github.com/elyse0)+* [extractor/youtube] **Support downloading clips**+* [extractor/youtube] Add `innertube_host` and `innertube_key` extractor args by [coletdjnz](https://github.com/coletdjnz)+* [extractor/youtube] Add warning for PostLiveDvr+* [extractor/youtube] Bring back `_extract_chapters_from_description`+* [extractor/youtube] Extract `comment_count` from webpage+* [extractor/youtube] Fix `:ytnotifications` extractor by [coletdjnz](https://github.com/coletdjnz)+* [extractor/youtube] Fix initial player response extraction by [coletdjnz](https://github.com/coletdjnz), [pukkandan](https://github.com/pukkandan)+* [extractor/youtube] Fix live chat for videos with content warning by [coletdjnz](https://github.com/coletdjnz)+* [extractor/youtube] Make signature extraction non-fatal+* [extractor/youtube:tab] Detect `videoRenderer` in `_post_thread_continuation_entries`+* [extractor/BiliIntl] Fix metadata extraction+* [extractor/BiliIntl] Fix subtitle extraction by [HobbyistDev](https://github.com/HobbyistDev)+* [extractor/FranceCulture] Fix extractor by [aurelg](https://github.com/aurelg), [pukkandan](https://github.com/pukkandan)+* [extractor/PokemonSoundLibrary] Remove extractor by [Lesmiscore](https://github.com/Lesmiscore)+* [extractor/StreamCZ] Fix extractor by [adamanldo](https://github.com/adamanldo), [dirkf](https://github.com/dirkf)+* [extractor/WatchESPN] Support free videos and BAM_DTC by [ischmidt20](https://github.com/ischmidt20)+* [extractor/animelab] Remove extractor by [gamer191](https://github.com/gamer191)+* [extractor/bloomberg] Change playback endpoint by [m4tu4g](https://github.com/m4tu4g)+* [extractor/ccc] Extract view_count by [vkorablin](https://github.com/vkorablin)+* [extractor/crunchyroll:beta] Fix extractor after API change by [Burve](https://github.com/Burve), [tejing1](https://github.com/tejing1)+* [extractor/curiositystream] Get `auth_token` from cookie by [mnn](https://github.com/mnn)+* [extractor/digitalconcerthall] Fix extractor by [ZhymabekRoman](https://github.com/ZhymabekRoman)+* [extractor/dropbox] Extract the correct `mountComponent`+* [extractor/dropout] Login is not mandatory+* [extractor/duboku] Fix for hostname change by [mozbugbox](https://github.com/mozbugbox)+* [extractor/espn] Add `WatchESPN` extractor by [ischmidt20](https://github.com/ischmidt20), [pukkandan](https://github.com/pukkandan)+* [extractor/expressen] Fix extractor by [aejdl](https://github.com/aejdl)+* [extractor/foxnews] Update embed extraction by [elyse0](https://github.com/elyse0)+* [extractor/ina] Fix extractor by [elyse0](https://github.com/elyse0)+* [extractor/iwara:user] Make paging better by [Lesmiscore](https://github.com/Lesmiscore)+* [extractor/jwplatform] Look for `data-video-jw-id`+* [extractor/lbry] Update livestream API by [flashdagger](https://github.com/flashdagger)+* [extractor/mediaset] Improve `_VALID_URL`+* [extractor/naver] Add `navernow` extractor by [ping](https://github.com/ping)+* [extractor/niconico:series] Fix extractor by [sqrtNOT](https://github.com/sqrtNOT)+* [extractor/npr] Use stream url from json-ld by [r5d](https://github.com/r5d)+* [extractor/pornhub] Extract `uploader_id` field by [Lesmiscore](https://github.com/Lesmiscore)+* [extractor/radiofrance] Add more radios by [bubbleguuum](https://github.com/bubbleguuum)+* [extractor/rumble] Detect JS embed+* [extractor/rumble] Extract subtitles by [fstirlitz](https://github.com/fstirlitz)+* [extractor/southpark] Add `southpark.lat` extractor by [darkxex](https://github.com/darkxex)+* [extractor/spotify:show] Fix extractor+* [extractor/tiktok] Detect embeds+* [extractor/tiktok] Extract `SIGI_STATE` by [dirkf](https://github.com/dirkf), [pukkandan](https://github.com/pukkandan), [sulyi](https://github.com/sulyi)+* [extractor/tver] Fix extractor by [Lesmiscore](https://github.com/Lesmiscore)+* [extractor/vevo] Fix extractor by [Lesmiscore](https://github.com/Lesmiscore)+* [extractor/yahoo:gyao] Fix extractor+* [extractor/zattoo] Fix live streams by [miseran](https://github.com/miseran)+* [extractor/zdf] Improve format sorting by [elyse0](https://github.com/elyse0)++### 2022.05.18* Add support for SSL client certificate authentication by [coletdjnz](https://github.com/coletdjnz), [dirkf](https://github.com/dirkf)@@ -1156,7 +1277,7 @@* [build] Automate more of the release process by [animelover1984](https://github.com/animelover1984), [pukkandan](https://github.com/pukkandan)* [build] Fix sha256 by [nihil-admirari](https://github.com/nihil-admirari)* [build] Bring back brew taps by [nao20010128nao](https://github.com/nao20010128nao)-* [build] Provide `--onedir` zip for windows by [pukkandan](https://github.com/pukkandan)+* [build] Provide `--onedir` zip for windows* [cleanup,docs] Add deprecation warning in docs for some counter intuitive behaviour* [cleanup] Fix line endings for `nebula.py` by [glenn-slayden](https://github.com/glenn-slayden)* [cleanup] Improve `make clean-test` by [sulyi](https://github.com/sulyi)diff --git a/supportedsites.md b/supportedsites.mdindex bbbfc6f94e..7a91358d5d 100644--- a/supportedsites.md+++ b/supportedsites.md@@ -1,4 +1,6 @@# Supported sites+ - **0000studio:archive**+ - **0000studio:clip**- **17live**- **17live:clip**- **1tv**: Первый канал@@ -60,8 +62,6 @@- **AmHistoryChannel**- **anderetijden**: npo.nl, ntr.nl, omroepwnl.nl, zapp.nl and npo3.nl- **AnimalPlanet**- - **AnimeLab**: [<abbr title="netrc machine"><em>animelab</em></abbr>]- - **AnimeLabShows**: [<abbr title="netrc machine"><em>animelab</em></abbr>]- **AnimeOnDemand**: [<abbr title="netrc machine"><em>animeondemand</em></abbr>]- **ant1newsgr:article**: ant1news.gr articles- **ant1newsgr:embed**: ant1news.gr embedded videos@@ -89,6 +89,7 @@- **AsianCrush**- **AsianCrushPlaylist**- **AtresPlayer**: [<abbr title="netrc machine"><em>atresplayer</em></abbr>]+ - **AtScaleConfEvent**- **ATTTechChannel**- **ATVAt**- **AudiMedia**@@ -276,6 +277,8 @@- **dailymotion**: [<abbr title="netrc machine"><em>dailymotion</em></abbr>]- **dailymotion:playlist**: [<abbr title="netrc machine"><em>dailymotion</em></abbr>]- **dailymotion:user**: [<abbr title="netrc machine"><em>dailymotion</em></abbr>]+ - **DailyWire**+ - **DailyWirePodcast**- **damtomo:record**- **damtomo:video**- **daum.net**@@ -322,8 +325,8 @@- **drtv**- **drtv:live**- **DTube**- - **duboku**: www.duboku.co- - **duboku:list**: www.duboku.co entire series+ - **duboku**: www.duboku.io+ - **duboku:list**: www.duboku.io entire series- **Dumpert**- **dvtv**: http://video.aktualne.cz/- **dw**@@ -403,6 +406,8 @@- **FranceTVSite**- **Freesound**- **freespeech.org**+ - **freetv:series**+ - **FreeTvMovies**- **FrontendMasters**: [<abbr title="netrc machine"><em>frontendmasters</em></abbr>]- **FrontendMastersCourse**: [<abbr title="netrc machine"><em>frontendmasters</em></abbr>]- **FrontendMastersLesson**: [<abbr title="netrc machine"><em>frontendmasters</em></abbr>]@@ -452,6 +457,7 @@- **google:podcasts**- **google:podcasts:feed**- **GoogleDrive**+ - **GoogleDrive:Folder**- **GoPro**- **Goshgay**- **GoToStage**@@ -535,6 +541,7 @@- **Iwara**- **iwara:playlist**- **iwara:user**+ - **Ixigua**- **Izlesene**- **Jable**- **JablePlaylist**@@ -554,12 +561,14 @@- **Ketnet**- **khanacademy**- **khanacademy:unit**+ - **Kicker**- **KickStarter**- **KinjaEmbed**- **KinoPoisk**- **KonserthusetPlay**- **Koo**- **KrasView**: Красвью+ - **KTH**- **Ku6**- **KUSI**- **kuwo:album**: 酷我音乐 - 专辑@@ -675,6 +684,7 @@- **miomio.tv**- **mirrativ**- **mirrativ:user**+ - **MirrorCoUK**- **MiTele**: mitele.es- **mixch**- **mixch:archive**@@ -740,6 +750,7 @@- **NationalGeographicTV**- **Naver**- **Naver:live**+ - **navernow**- **NBA**- **nba:watch**- **nba:watch:collection**@@ -769,6 +780,8 @@- **netease:singer**: 网易云音乐 - 歌手- **netease:song**: 网易云音乐- **NetPlus**: [<abbr title="netrc machine"><em>netplus</em></abbr>]+ - **Netverse**+ - **NetversePlaylist**- **Netzkino**- **Newgrounds**- **Newgrounds:playlist**@@ -932,6 +945,7 @@- **PlayPlusTV**: [<abbr title="netrc machine"><em>playplustv</em></abbr>]- **PlayStuff**- **PlaysTV**+ - **PlaySuisse**- **Playtvak**: Playtvak.cz, iDNES.cz and Lidovky.cz- **Playvid**- **PlayVids**@@ -942,7 +956,6 @@- **Podchaser**- **podomatic**- **Pokemon**- - **PokemonSoundLibrary**- **PokemonWatch**- **PokerGo**: [<abbr title="netrc machine"><em>pokergo</em></abbr>]- **PokerGoCollection**: [<abbr title="netrc machine"><em>pokergo</em></abbr>]@@ -1150,6 +1163,7 @@- **southpark.cc.com**- **southpark.cc.com:español**- **southpark.de**+ - **southpark.lat**- **southpark.nl**- **southparkstudios.dk**- **SovietsCloset**@@ -1189,6 +1203,7 @@- **StretchInternet**- **Stripchat**- **stv:player**+ - **Substack**- **SunPorno**- **sverigesradio:episode**- **sverigesradio:publication**@@ -1463,6 +1478,7 @@- **washingtonpost:article**- **wat.tv**- **WatchBox**+ - **WatchESPN**- **WatchIndianPorn**: Watch Indian Porn- **WDR**- **wdr:mobile**: (**Currently broken**)@@ -1535,6 +1551,7 @@- **YourPorn**- **YourUpload**- **youtube**: YouTube+ - **youtube:clip**- **youtube:favorites**: YouTube liked videos; ":ytfav" keyword (requires cookies)- **youtube:history**: Youtube watch history; ":ythis" keyword (requires cookies)- **youtube:music:search_url**: YouTube music search URLs with selectable sections (Eg: #songs)