mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-10 07:04:38 +00:00
parent
49ca8db06b
commit
f0e5366335
1 changed files with 2 additions and 0 deletions
|
@ -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…
Reference in a new issue