Browse Source

[youtube] Force old layout (closes #25682, closes #25683, closes #25680, closes #25686)

master
Sergey M․ 4 years ago
parent
commit
ee0b726cd7
No known key found for this signature in database GPG Key ID: 2C393E0F18A9236D
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      youtube_dl/extractor/youtube.py

+ 1
- 1
youtube_dl/extractor/youtube.py View File

@ -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)


Loading…
Cancel
Save