Release 2021.07.24

This commit is contained in:
pukkandan 2021-07-24 07:03:14 +05:30
parent a353beba83
commit f703a88055
No known key found for this signature in database
GPG Key ID: 0F00D95A001F4698
3 changed files with 17 additions and 2 deletions

View File

@ -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 ### 2021.07.21
* **Add option `--cookies-from-browser`** to load cookies from a browser by [mbway](https://github.com/mbway) * **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] Fix channels tab
* [youtube:tab] Extract playlist availability by [colethedj](https://github.com/colethedj) * [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) * **[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) * [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) * [BravoTV] Improve metadata extraction by [kevinoconnor7](https://github.com/kevinoconnor7)
* [crunchyroll:playlist] Force http * [crunchyroll:playlist] Force http

View File

@ -75,7 +75,7 @@ # NEW FEATURES
* All Feeds (`:ytfav`, `:ytwatchlater`, `:ytsubs`, `:ythistory`, `:ytrec`) supports downloading multiple pages of content * All Feeds (`:ytfav`, `:ytwatchlater`, `:ytsubs`, `:ythistory`, `:ytrec`) supports downloading multiple pages of content
* Search (`ytsearch:`, `ytsearchdate:`), search URLs and in-channel search works * Search (`ytsearch:`, `ytsearchdate:`), search URLs and in-channel search works
* Mixes supports downloading multiple pages of content * 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 * 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 * `255kbps` audio is extracted from youtube music if premium cookies are given
* Youtube music Albums, channels etc can be downloaded * Youtube music Albums, channels etc can be downloaded

View File

@ -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): 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 # 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: if gvi_client:
pr = self._parse_json(traverse_obj( pr = self._parse_json(traverse_obj(
compat_parse_qs(self._download_webpage( compat_parse_qs(self._download_webpage(