diff options
author | Sergey M․ <dstftw@gmail.com> | 2020-06-16 06:17:53 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2020-06-16 06:17:53 +0700 |
commit | ee0b726cd74ac6d4f6b187b1264baa0fc14c8800 (patch) | |
tree | 171fb0b28f868e6055dac69ad1992585aa3b3b95 | |
parent | dbeafce5d58b0d40b7af35e5276f77855ced81a4 (diff) |
[youtube] Force old layout (closes #25682, closes #25683, closes #25680, closes #25686)
-rw-r--r-- | youtube_dl/extractor/youtube.py | 2 |
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) |