From 22091b54e89f236632d918589bfd6cdb3717df06 Mon Sep 17 00:00:00 2001 From: ngfchl Date: Thu, 13 Oct 2022 23:14:41 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=8E=B7=E5=8F=96=E5=81=9A?= =?UTF-8?q?=E7=A7=8D=E4=BD=93=E7=A7=AF=E5=A4=B1=E8=B4=A5=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- auto_pt/admin.py | 2 +- main_pt_site_site.json | 8 ++++---- pt.json | 8 ++++---- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/auto_pt/admin.py b/auto_pt/admin.py index 20e194a..406cda4 100644 --- a/auto_pt/admin.py +++ b/auto_pt/admin.py @@ -129,7 +129,7 @@ class TaskJobAdmin(admin.ModelAdmin): # instead of ModelAdmin except Exception as e: obj.task_exec = False obj.save() - raise + # raise msg = obj.job_id + '任务添加失败!原因:' + str(e) logger.error(msg) pt_spider.send_text('计划任务:' + msg) diff --git a/main_pt_site_site.json b/main_pt_site_site.json index 84d3d58..4f3919c 100644 --- a/main_pt_site_site.json +++ b/main_pt_site_site.json @@ -4714,7 +4714,7 @@ { "id": 70, "created_at": "2022-10-13 20:46:41.135391", - "updated_at": "2022-10-13 20:50:42.230824", + "updated_at": "2022-10-13 23:12:01.439476", "name": "GGPT", "url": "https://gamegamept.cn/", "logo": "https://gamegamept.cn/favicon.ico", @@ -4778,7 +4778,7 @@ "leech_rule": "//img[@class=\"arrowdown\"]/following-sibling::text()[1]", "seed_rule": "//img[@class=\"arrowup\"]/following-sibling::text()[1]", "record_count_rule": ".//td[3]/text()", - "seed_vol_rule": "//tr/td[3]", + "seed_vol_rule": "//tr/td[4]", "mailbox_rule": "//a[@href=\"messages.php\"]/font[contains(text(),\"条\")]/text()[1]", "hash_rule": "//td/b[contains(text(),\"Hash\")]/following::text()[1]", "notice_rule": "//a[@href=\"index.php\"]/font[contains(text(),\"条\")]/text()[1]", @@ -4866,7 +4866,7 @@ { "id": 72, "created_at": "2022-10-13 22:31:26.178291", - "updated_at": "2022-10-13 22:35:55.533849", + "updated_at": "2022-10-13 23:11:19.842113", "name": "织梦", "url": "https://zmpt.cc/", "logo": "https://zmpt.cc/favicon.ico", @@ -4930,7 +4930,7 @@ "leech_rule": "//img[@class=\"arrowdown\"]/following-sibling::text()[1]", "seed_rule": "//img[@class=\"arrowup\"]/following-sibling::text()[1]", "record_count_rule": ".//td[3]/text()", - "seed_vol_rule": "//tr/td[3]", + "seed_vol_rule": "//tr/td[4]", "mailbox_rule": "//a[@href=\"messages.php\"]/font[contains(text(),\"条\")]/text()[1]", "hash_rule": "//td/b[contains(text(),\"Hash\")]/following::text()[1]", "notice_rule": "//a[@href=\"index.php\"]/font[contains(text(),\"条\")]/text()[1]", diff --git a/pt.json b/pt.json index 53a43ea..27afb3e 100644 --- a/pt.json +++ b/pt.json @@ -4902,7 +4902,7 @@ "pk": 70, "fields": { "created_at": "2022-10-13T20:46:41.135", - "updated_at": "2022-10-13T20:50:42.230", + "updated_at": "2022-10-13T23:12:01.439", "url": "https://gamegamept.cn/", "name": "GGPT", "logo": "https://gamegamept.cn/favicon.ico", @@ -4970,7 +4970,7 @@ "leech_rule": "//img[@class=\"arrowdown\"]/following-sibling::text()[1]", "seed_rule": "//img[@class=\"arrowup\"]/following-sibling::text()[1]", "record_count_rule": ".//td[3]/text()", - "seed_vol_rule": "//tr/td[3]", + "seed_vol_rule": "//tr/td[4]", "mailbox_rule": "//a[@href=\"messages.php\"]/font[contains(text(),\"条\")]/text()[1]", "notice_rule": "//a[@href=\"index.php\"]/font[contains(text(),\"条\")]/text()[1]", "hash_rule": "//td/b[contains(text(),\"Hash\")]/following::text()[1]" @@ -5060,7 +5060,7 @@ "pk": 72, "fields": { "created_at": "2022-10-13T22:31:26.178", - "updated_at": "2022-10-13T22:35:55.533", + "updated_at": "2022-10-13T23:11:19.842", "url": "https://zmpt.cc/", "name": "织梦", "logo": "https://zmpt.cc/favicon.ico", @@ -5128,7 +5128,7 @@ "leech_rule": "//img[@class=\"arrowdown\"]/following-sibling::text()[1]", "seed_rule": "//img[@class=\"arrowup\"]/following-sibling::text()[1]", "record_count_rule": ".//td[3]/text()", - "seed_vol_rule": "//tr/td[3]", + "seed_vol_rule": "//tr/td[4]", "mailbox_rule": "//a[@href=\"messages.php\"]/font[contains(text(),\"条\")]/text()[1]", "notice_rule": "//a[@href=\"index.php\"]/font[contains(text(),\"条\")]/text()[1]", "hash_rule": "//td/b[contains(text(),\"Hash\")]/following::text()[1]"