aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--yt_dlp/extractor/reddit.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/yt_dlp/extractor/reddit.py b/yt_dlp/extractor/reddit.py
index 2a1b950bd..638f2b6a8 100644
--- a/yt_dlp/extractor/reddit.py
+++ b/yt_dlp/extractor/reddit.py
@@ -102,6 +102,8 @@ class RedditRIE(InfoExtractor):
video_id = self._match_id(url)
+ self._set_cookie('reddit.com', '_options', '%7B%22pref_quarantine_optin%22%3A%20true%7D')
+
data = self._download_json(
url + '/.json', video_id)[0]['data']['children'][0]['data']