Fixed type in opensubtitles.com provider that could cause AuthenticationError for new users. #2152

This commit is contained in:
morpheus65535 2023-05-24 19:14:23 -04:00
parent 6f92e35ba0
commit baf7a7300d
1 changed files with 1 additions and 1 deletions

View File

@ -400,7 +400,7 @@ class OpenSubtitlesComProvider(ProviderRetryMixin, Provider):
logger.info('Downloading subtitle %r', subtitle)
headers = {'Accept': 'application/json', 'Content-Type': 'application/json',
'Authorization': 'Beaker ' + self.token}
'Authorization': 'Bearer ' + self.token}
res = self.retry(
lambda: checked(
lambda: self.session.post(self.server_url + 'download',