aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbashonly <bashonly@bashonly.com>2023-10-04 12:44:13 -0500
committerbashonly <bashonly@bashonly.com>2023-10-04 13:00:33 -0500
commit0730d5a966fa8a937d84bfb7f68be5198acb039b (patch)
treec654562ce9a0dc4dff76e467d982d97badc94497
parentcc8d8441524ec3442d7c0d3f8f33f15b66aa06f3 (diff)
[ie/gofile] Fix token cookie bug
Authored by: bashonly
-rw-r--r--yt_dlp/extractor/gofile.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/extractor/gofile.py b/yt_dlp/extractor/gofile.py
index 898390583..ef14b57d0 100644
--- a/yt_dlp/extractor/gofile.py
+++ b/yt_dlp/extractor/gofile.py
@@ -60,7 +60,7 @@ class GofileIE(InfoExtractor):
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 = {