]> jfr.im git - yt-dlp.git/commitdiff
[ie/gofile] Fix token cookie bug
authorbashonly <redacted>
Wed, 4 Oct 2023 17:44:13 +0000 (12:44 -0500)
committerbashonly <redacted>
Wed, 4 Oct 2023 18:00:33 +0000 (13:00 -0500)
Authored by: bashonly

yt_dlp/extractor/gofile.py

index 8983905839380301b31ab3cf5c613569ff418bae..ef14b57d08271d826535dad7997fc653a18e2445 100644 (file)
@@ -60,7 +60,7 @@ def _real_initialize(self):
         account_data = self._download_json(
             'https://api.gofile.io/createAccount', None, note='Getting a new guest account')
         self._TOKEN = account_data['data']['token']
-        self._set_cookie('gofile.io', 'accountToken', self._TOKEN)
+        self._set_cookie('.gofile.io', 'accountToken', self._TOKEN)
 
     def _entries(self, file_id):
         query_params = {