diff options
author | idanlah <[email protected]> | 2022-12-17 23:26:35 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2022-12-17 16:26:35 -0500 |
commit | 577a0d65428f950b0074307e21145258120f5769 (patch) | |
tree | b32a8b3d0765e61394b25dab6f4da87c125a098d | |
parent | e503afdc2c287d2965a390fbba78cf2ce8fd0351 (diff) | |
download | bazarr-577a0d65428f950b0074307e21145258120f5769.tar.gz bazarr-577a0d65428f950b0074307e21145258120f5769.zip |
Fixed wizdom provider urlsv1.1.4-beta.6
-rw-r--r-- | libs/subliminal_patch/providers/wizdom.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/subliminal_patch/providers/wizdom.py b/libs/subliminal_patch/providers/wizdom.py index ed5482ad9..12666f541 100644 --- a/libs/subliminal_patch/providers/wizdom.py +++ b/libs/subliminal_patch/providers/wizdom.py @@ -135,7 +135,7 @@ class WizdomProvider(Provider): # search logger.debug('Using IMDB ID %r', imdb_id) url = 'https://{}/api/releases/{}'.format(self.server_url, imdb_id) - page_link = 'http://{}/#/{}/{}'.format(self.server_url, 'movies' if is_movie else 'series', imdb_id) + page_link = 'http://{}/{}/{}'.format(self.server_url, 'movies' if is_movie else 'series', imdb_id) # get the list of subtitles logger.debug('Getting the list of subtitles') @@ -202,7 +202,7 @@ class WizdomProvider(Provider): def download_subtitle(self, subtitle): # download - url = 'http://zip.{}/{}.zip'.format(self.server_url, subtitle.subtitle_id) + url = 'http://{}/api/files/sub/{}'.format(self.server_url, subtitle.subtitle_id) r = self.session.get(url, headers={'Referer': subtitle.page_link}, timeout=10) r.raise_for_status() |