commit: 9d8d0f8b4a65ea05c4bd9a9720c07d2c7f3eaf03
parent 5a1fbbf8b7215aab0e6382e93eaa1561093352cf
Author: SoneƩ John <sonee@alphasoftware.co>
Date: Tue, 8 Dec 2020 13:41:47 -0400
[youtube] Remove unused code (#27343)
Diffstat:
1 file changed, 0 insertions(+), 5 deletions(-)
diff --git 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',