aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/youtube.py
diff options
context:
space:
mode:
authorSoneƩ John <sonee@alphasoftware.co>2020-12-08 13:41:47 -0400
committerGitHub <noreply@github.com>2020-12-09 00:41:47 +0700
commit9d8d0f8b4a65ea05c4bd9a9720c07d2c7f3eaf03 (patch)
treecad096d11b14dc26973afae05b9ac9fcdbfbfb05 /youtube_dl/extractor/youtube.py
parent5a1fbbf8b7215aab0e6382e93eaa1561093352cf (diff)
[youtube] Remove unused code (#27343)
Diffstat (limited to 'youtube_dl/extractor/youtube.py')
-rw-r--r--youtube_dl/extractor/youtube.py5
1 files changed, 0 insertions, 5 deletions
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',