[YouTube] Bypass age-gating for certain restricted videos
authordirkf <fieldhouse@gmx.net>
Mon, 31 Jan 2022 04:28:54 +0000 (04:28 +0000)
committerdirkf <fieldhouse@gmx.net>
Mon, 13 Feb 2023 03:54:51 +0000 (03:54 +0000)
commit58988c1421b88875a33015b08e4d2ada43021e09
tree468a0ced4de0fb37de023768f5bc465077c1648f
parente19ec5232216fd801ded88728df5b50bfb05c1cc
[YouTube] Bypass age-gating for certain restricted videos

* Use TVHTML5_SIMPLY_EMBEDDED_PLAYER client

* Also add and fix tests

* Introduce and use new utility function `update_url()`
youtube_dl/extractor/youtube.py
youtube_dl/utils.py