[reddit] Fix for quarantined subreddits (#848)

Authored by: ouwou
pull/854/head
ouwou 3 years ago committed by GitHub
parent 49ca8db06b
commit f0e5366335
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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']

Loading…
Cancel
Save