Skip to content

A feature-rich command-line audio/video downloader

[ie/gofile] Fix token cookie bug

bashonly0730d5a966fa
diff --git a/yt_dlp/extractor/gofile.py b/yt_dlp/extractor/gofile.py
index 8983905839..ef14b57d08 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 = {