aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/extractor/curiositystream.py
diff options
context:
space:
mode:
Diffstat (limited to 'yt_dlp/extractor/curiositystream.py')
-rw-r--r--yt_dlp/extractor/curiositystream.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/extractor/curiositystream.py b/yt_dlp/extractor/curiositystream.py
index e71b05289..be4e53e44 100644
--- a/yt_dlp/extractor/curiositystream.py
+++ b/yt_dlp/extractor/curiositystream.py
@@ -27,7 +27,7 @@ class CuriosityStreamBaseIE(InfoExtractor):
auth_cookie = self._get_cookies('https://curiositystream.com').get('auth_token')
if auth_cookie:
self.write_debug('Obtained auth_token cookie')
- self._auth_token = cookie.value
+ self._auth_token = auth_cookie.value
if self._auth_token:
headers['X-Auth-Token'] = self._auth_token
result = self._download_json(