From 0c9460cbeddfd8efc6fe05df963c01c18bd99877 Mon Sep 17 00:00:00 2001 From: bashonly Date: Wed, 27 Nov 2024 12:06:16 -0600 Subject: [PATCH] [ie/youtube] Comment now-pointless agegate workaround code Authored by: bashonly --- yt_dlp/extractor/youtube.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/yt_dlp/extractor/youtube.py b/yt_dlp/extractor/youtube.py index 34cc5f5046..a9f391475f 100644 --- a/yt_dlp/extractor/youtube.py +++ b/yt_dlp/extractor/youtube.py @@ -3981,6 +3981,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor): else: prs.append(pr) + ''' This code is pointless while web_creator is in _DEFAULT_AUTHED_CLIENTS # EU countries require age-verification for accounts to access age-restricted videos # If account is not age-verified, _is_agegated() will be truthy for non-embedded clients if self.is_authenticated and self._is_agegated(pr): @@ -3991,6 +3992,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor): # android_vr and mediaconnect may also be able to work around age-verification # tv_embedded may(?) still work around age-verification if the video is embeddable append_client('web_creator') + ''' prs.extend(deprioritized_prs)