From 011b64e45d71bc4d47f5e18eacb2a9eec975e5a5 Mon Sep 17 00:00:00 2001 From: hjdhnx Date: Fri, 7 Oct 2022 20:47:35 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E5=8A=A8=E6=80=81=E5=88=86?= =?UTF-8?q?=E7=B1=BB=E6=8E=92=E9=99=A4,=E5=8F=AF=E4=BB=A5=E4=B8=8D?= =?UTF-8?q?=E6=B8=85=E5=88=86=E7=B1=BB=E7=BC=93=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- base/rules.db | Bin 86016 -> 86016 bytes controllers/cms.py | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/base/rules.db b/base/rules.db index 0c71c3ca9ef2fbb5649ceeffc478324f3bec9d64..98da8ddf2d91b7eda7244fb255feb3b8c634e6f4 100644 GIT binary patch delta 74 zcmV-Q0JZ;spap=S1&|v71d$v=0R*vNyng};Ewdhgc?kiTlbDH)2Sf`503~%plcA13 gvuui#0Rb?x0gPV)0uG^*Vvauq4}<_ev!#w(!FoR!w*UYD delta 75 zcmV-R0JQ&rpap=S1&|v70g)U-0RgdKyng}?p|c)9Ka(wrKeOPDAi>RU8y^4w diff --git a/controllers/cms.py b/controllers/cms.py index d60a96f..61b2ffb 100644 --- a/controllers/cms.py +++ b/controllers/cms.py @@ -505,7 +505,7 @@ class CMS: video_result = self.homeVideoContent(html,fypage) except Exception as e: logger.info(f'{self.getName()}主页发生错误:{e}') - + classes = list(filter(lambda x:not self.cate_exclude or not jsoup(self.url).test(self.cate_exclude, x['type_name']),classes)) result['class'] = classes if self.filter: if isinstance(self.filter,dict): -- GitLab