mirror of
https://github.com/EstrellaXD/Auto_Bangumi.git
synced 2026-04-14 02:20:53 +08:00
fix: #296
This commit is contained in:
@@ -80,10 +80,11 @@ class QbDownloader:
|
||||
def torrents_info(self, status_filter, category, tag=None):
|
||||
return self._client.torrents_info(status_filter=status_filter, category=category, tag=tag)
|
||||
|
||||
def torrents_add(self, urls, save_path, category):
|
||||
def torrents_add(self, urls, save_path, category, torrent_files=None):
|
||||
return self._client.torrents_add(
|
||||
is_paused=False,
|
||||
urls=urls,
|
||||
torrent_files=torrent_files,
|
||||
save_path=save_path,
|
||||
category=category,
|
||||
use_auto_torrent_management=False
|
||||
|
||||
@@ -18,8 +18,8 @@ RULES = [
|
||||
]
|
||||
|
||||
SUBTITLE_LANG = {
|
||||
"zh-tw": ["TC", "CHT", "繁", "zh-tw"],
|
||||
"zh": ["SC", "CHS", "简", "zh"],
|
||||
"zh-tw": ["TC", "CHT", "cht", "繁", "zh-tw"],
|
||||
"zh": ["SC", "CHS", "chs", "简", "zh"],
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user