From f703a880553c10828f6132135f3a04a68a965857 Mon Sep 17 00:00:00 2001 From: pukkandan Date: Sat, 24 Jul 2021 07:03:14 +0530 Subject: [PATCH] Release 2021.07.24 --- Changelog.md | 15 +++++++++++++++ README.md | 2 +- yt_dlp/extractor/youtube.py | 2 +- 3 files changed, 17 insertions(+), 2 deletions(-) diff --git a/Changelog.md b/Changelog.md index e3c5eb73c..e703ff5cb 100644 --- a/Changelog.md +++ b/Changelog.md @@ -18,6 +18,20 @@ # Instuctions for creating release --> + +### 2021.07.24 + +* [youtube:tab] Extract video duration early +* [downloader] Pass `info_dict` to `progress_hook`s +* [youtube] Fix age-gated videos for API clients when cookies are supplied by [colethedj](https://github.com/colethedj) +* [youtube] Disable `get_video_info` age-gate workaround - This endpoint seems to be completely dead +* [youtube] Try all clients even if age-gated +* [youtube] Fix subtitles only being extracted from the first client +* [youtube] Simplify `_get_text` +* [cookies] bugfix for microsoft edge on macOS +* [cookies] Handle `sqlite` `ImportError` gracefully by [mbway](https://github.com/mbway) +* [cookies] Handle errors when importing `keyring` + ### 2021.07.21 * **Add option `--cookies-from-browser`** to load cookies from a browser by [mbway](https://github.com/mbway) @@ -53,6 +67,7 @@ ### 2021.07.21 * [youtube:tab] Fix channels tab * [youtube:tab] Extract playlist availability by [colethedj](https://github.com/colethedj) * **[youtube:comments] Move comment extraction to new API** by [colethedj](https://github.com/colethedj) + * Adds extractor-args `comment_sort` (`top`/`new`), `max_comments`, `max_comment_depth` * [youtube:comments] Fix `is_favorited`, improve `like_count` parsing by [colethedj](https://github.com/colethedj) * [BravoTV] Improve metadata extraction by [kevinoconnor7](https://github.com/kevinoconnor7) * [crunchyroll:playlist] Force http diff --git a/README.md b/README.md index b4e7e6e86..bd6938eb4 100644 --- a/README.md +++ b/README.md @@ -75,7 +75,7 @@ # NEW FEATURES * All Feeds (`:ytfav`, `:ytwatchlater`, `:ytsubs`, `:ythistory`, `:ytrec`) supports downloading multiple pages of content * Search (`ytsearch:`, `ytsearchdate:`), search URLs and in-channel search works * Mixes supports downloading multiple pages of content - * Partial workarounds for age-gate and throttling issues + * Partial workaround for throttling issue * Redirect channel's home URL automatically to `/video` to preserve the old behaviour * `255kbps` audio is extracted from youtube music if premium cookies are given * Youtube music Albums, channels etc can be downloaded diff --git a/yt_dlp/extractor/youtube.py b/yt_dlp/extractor/youtube.py index 6c10cca22..385ba34f9 100644 --- a/yt_dlp/extractor/youtube.py +++ b/yt_dlp/extractor/youtube.py @@ -2395,7 +2395,7 @@ def _extract_player_response(self, client, video_id, master_ytcfg, player_ytcfg, def _extract_age_gated_player_response(self, client, video_id, ytcfg, identity_token, player_url, initial_pr): # get_video_info endpoint seems to be completely dead - gvi_client = None # self._YT_CLIENTS.get(f'_{client}_agegate') + gvi_client = None # self._YT_CLIENTS.get(f'_{client}_agegate') if gvi_client: pr = self._parse_json(traverse_obj( compat_parse_qs(self._download_webpage(