]> jfr.im git - yt-dlp.git/blobdiff - yt_dlp/extractor/curiositystream.py
[cleanup] Misc fixes and cleanup
[yt-dlp.git] / yt_dlp / extractor / curiositystream.py
index e71b0528978b095008c23200c2ea1a57860d35cb..be4e53e4488772900d6fbf0dfc47b297ce1cab27 100644 (file)
@@ -27,7 +27,7 @@ def _call_api(self, path, video_id, query=None):
             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(