From: SoneƩ John Date: Tue, 8 Dec 2020 17:41:47 +0000 (-0400) Subject: [youtube] Remove unused code (#27343) X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=9d8d0f8b4a65ea05c4bd9a9720c07d2c7f3eaf03;p=youtube-dl [youtube] Remove unused code (#27343) --- diff --git a/youtube_dl/extractor/youtube.py b/youtube_dl/extractor/youtube.py index 173f5a2d8..438a93b17 100644 --- a/youtube_dl/extractor/youtube.py +++ b/youtube_dl/extractor/youtube.py @@ -67,11 +67,6 @@ class YoutubeBaseInfoExtractor(InfoExtractor): _PLAYLIST_ID_RE = r'(?:(?:PL|LL|EC|UU|FL|RD|UL|TL|PU|OLAK5uy_)[0-9A-Za-z-_]{10,}|RDMM)' - _YOUTUBE_CLIENT_HEADERS = { - 'x-youtube-client-name': '1', - 'x-youtube-client-version': '1.20200609.04.02', - } - def _set_language(self): self._set_cookie( '.youtube.com', 'PREF', 'f1=50000000&f6=8&hl=en',