From abd1a518630d3c6ef55f2dc0e660efff7b144fb1 Mon Sep 17 00:00:00 2001 From: mayun110 Date: Sat, 23 Mar 2024 12:20:54 +0800 Subject: [PATCH 1/2] fix: labels by mTorrent --- app/modules/indexer/mtorrent.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/modules/indexer/mtorrent.py b/app/modules/indexer/mtorrent.py index bacf85e6..c39d6166 100644 --- a/app/modules/indexer/mtorrent.py +++ b/app/modules/indexer/mtorrent.py @@ -31,8 +31,12 @@ class MTorrentSpider: # 标签 _labels = { "0": "", + "1": "DIY", + "2": "国配", "4": "中字", - "6": "国配", + "5": "DIY 中字", + "6": "国配 中字", + "7": "DIY 国配 中字" } def __init__(self, indexer: CommentedMap): From 764359c3e807b2b431962ea92a1f4bcc6a1fecb9 Mon Sep 17 00:00:00 2001 From: mayun110 Date: Sat, 23 Mar 2024 13:18:36 +0800 Subject: [PATCH 2/2] fix --- app/modules/indexer/mtorrent.py | 1 + 1 file changed, 1 insertion(+) diff --git a/app/modules/indexer/mtorrent.py b/app/modules/indexer/mtorrent.py index c39d6166..e7671129 100644 --- a/app/modules/indexer/mtorrent.py +++ b/app/modules/indexer/mtorrent.py @@ -33,6 +33,7 @@ class MTorrentSpider: "0": "", "1": "DIY", "2": "国配", + "3": "DIY 国配", "4": "中字", "5": "DIY 中字", "6": "国配 中字",