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

pull/2156/head v1.2.2-beta.8
morpheus65535 1 year ago
parent 6f92e35ba0
commit baf7a7300d

@ -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',

Loading…
Cancel
Save