Skip to content

Commit

Permalink
[youtube] Force old layout (closes #25682, closes #25683, closes #25680
Browse files Browse the repository at this point in the history
…, closes #25686)
  • Loading branch information
dstftw committed Jun 15, 2020
1 parent dbeafce commit ee0b726
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion youtube_dl/extractor/youtube.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit ee0b726

Please sign in to comment.