From f0660c4d5b396539693cba9733e709a430b5b7c3 Mon Sep 17 00:00:00 2001 From: Franklin-F Date: Wed, 16 Jul 2025 21:00:39 +0800 Subject: [PATCH 1/2] =?UTF-8?q?fix:=20=E5=A2=9E=E5=8A=A0=E8=A7=86=E9=A2=91?= =?UTF-8?q?=E8=8E=B7=E5=8F=96=E6=8E=A5=E5=8F=A3=E7=9A=84=E6=9C=80=E5=A4=A7?= =?UTF-8?q?=E9=A1=B5=E6=95=B0=E5=92=8C=E9=99=90=E5=88=B6=EF=BC=8C=E6=8F=90?= =?UTF-8?q?=E5=8D=87=E6=95=B0=E6=8D=AE=E8=8E=B7=E5=8F=96=E8=83=BD=E5=8A=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main.py b/main.py index 8a9eae2..f2fc056 100644 --- a/main.py +++ b/main.py @@ -59,11 +59,11 @@ def get_searchInfo(keyword, level, headers, proxy_name, r=2): if r == 2: logger.info(f"NET处理->{keyword},\trn->{proxy_name},\tlevel->{level}") video_list = [] - max_page = 2 - limit = 30 + max_page = 3 + limit = 100 endpoint = 'https://api.dailymotion.com/videos' if level == 0 or level == 1: - max_page = 3 + max_page = 4 limit = 100 for j in range(1, max_page): params = { From 238127213fff7f7dac8899b459c8be6283d76165 Mon Sep 17 00:00:00 2001 From: Franklin-F Date: Wed, 16 Jul 2025 21:08:35 +0800 Subject: [PATCH 2/2] =?UTF-8?q?fix:=20=E6=9B=B4=E6=96=B0=E6=9F=A5=E8=AF=A2?= =?UTF-8?q?=E6=9D=A1=E4=BB=B6=E4=BB=A5=E6=94=AF=E6=8C=81=E6=9B=B4=E5=A4=9A?= =?UTF-8?q?=E7=8A=B6=E6=80=81=EF=BC=8C=E5=A2=9E=E5=BC=BA=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E8=8E=B7=E5=8F=96=E7=9A=84=E7=81=B5=E6=B4=BB=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- DB.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DB.py b/DB.py index 61ee9ae..1e34ed4 100644 --- a/DB.py +++ b/DB.py @@ -392,7 +392,7 @@ class DBVidcon: FROM sh_dm_fight_records WHERE status = 2 - AND subsequent_status = 1 + AND subsequent_status in (1, 3) AND report_time != '' AND mid = %s """