Skip to content

Commit

Permalink
[ie/gofile] Fix token cookie bug
Browse files Browse the repository at this point in the history
Authored by: bashonly
  • Loading branch information
bashonly committed Oct 4, 2023
1 parent cc8d844 commit 0730d5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yt_dlp/extractor/gofile.py
Expand Up @@ -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 = {
Expand Down

0 comments on commit 0730d5a

Please sign in to comment.