Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/bazarr/commit/baf7a7300d7d3556642dfab48b37c2a64743afeb?style=split&whitespace=ignore-eol You should set ROOT_URL correctly, otherwise the web may not work correctly.

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

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

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

Loading…
Cancel
Save