summary refs log tree commit diff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2020-06-16 06:17:53 +0700
committerSergey M․ <dstftw@gmail.com>2020-06-16 06:17:53 +0700
commitee0b726cd74ac6d4f6b187b1264baa0fc14c8800 (patch)
tree171fb0b28f868e6055dac69ad1992585aa3b3b95
parentdbeafce5d58b0d40b7af35e5276f77855ced81a4 (diff)
downloadyoutube-dl-ee0b726cd74ac6d4f6b187b1264baa0fc14c8800.tar.gz
youtube-dl-ee0b726cd74ac6d4f6b187b1264baa0fc14c8800.tar.xz
youtube-dl-ee0b726cd74ac6d4f6b187b1264baa0fc14c8800.zip
[youtube] Force old layout (closes #25682, closes #25683, closes #25680, closes #25686)
-rw-r--r--youtube_dl/extractor/youtube.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/youtube.py b/youtube_dl/extractor/youtube.py
index 53dccdf0b..1bc79e014 100644
--- a/youtube_dl/extractor/youtube.py
+++ b/youtube_dl/extractor/youtube.py
@@ -77,7 +77,7 @@ class YoutubeBaseInfoExtractor(InfoExtractor):
 
     def _set_language(self):
         self._set_cookie(
-            '.youtube.com', 'PREF', 'f1=50000000&hl=en',
+            '.youtube.com', 'PREF', 'f1=50000000&f6=8&hl=en',
             # YouTube sets the expire time to about two months
             expire_time=time.time() + 2 * 30 * 24 * 3600)