diff options
author | Anderson Shindy Oki <[email protected]> | 2024-05-05 02:19:36 +0900 |
---|---|---|
committer | GitHub <[email protected]> | 2024-05-04 13:19:36 -0400 |
commit | 970b0f9d4769d47e325fb01441abbc14996d7262 (patch) | |
tree | 6d862040dc8d29128cf6607924e791197d061b71 | |
parent | 0bddb5ba55eaae0db0919af5e4a21e408a6050bc (diff) | |
download | bazarr-970b0f9d4769d47e325fb01441abbc14996d7262.tar.gz bazarr-970b0f9d4769d47e325fb01441abbc14996d7262.zip |
Added animetosho release infov1.4.3-beta.31
-rw-r--r-- | custom_libs/subliminal_patch/providers/animetosho.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/custom_libs/subliminal_patch/providers/animetosho.py b/custom_libs/subliminal_patch/providers/animetosho.py index 550e2bf4b..1fb791e86 100644 --- a/custom_libs/subliminal_patch/providers/animetosho.py +++ b/custom_libs/subliminal_patch/providers/animetosho.py @@ -46,10 +46,11 @@ class AnimeToshoSubtitle(Subtitle): """AnimeTosho.org Subtitle.""" provider_name = 'animetosho' - def __init__(self, language, download_link, meta): + def __init__(self, language, download_link, meta, release_info): super(AnimeToshoSubtitle, self).__init__(language, page_link=download_link) self.meta = meta self.download_link = download_link + self.release_info = release_info @property def id(self): @@ -152,6 +153,7 @@ class AnimeToshoProvider(Provider, ProviderSubtitleArchiveMixin): lang, storage_download_url + '{}/{}.xz'.format(hex_id, subtitle_file['id']), meta=file, + release_info=entry.get('title'), ) logger.debug('Found subtitle %r', subtitle) |