mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-31 06:30:44 +00:00 
			
		
		
		
	[ie/gofile] Fix token cookie bug
Authored by: bashonly
This commit is contained in:
		| @@ -60,7 +60,7 @@ class GofileIE(InfoExtractor): | |||||||
|         account_data = self._download_json( |         account_data = self._download_json( | ||||||
|             'https://api.gofile.io/createAccount', None, note='Getting a new guest account') |             'https://api.gofile.io/createAccount', None, note='Getting a new guest account') | ||||||
|         self._TOKEN = account_data['data']['token'] |         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): |     def _entries(self, file_id): | ||||||
|         query_params = { |         query_params = { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 bashonly
					bashonly