From 9768acca11ffb9f85b2c7caaf71cc67916defaaf Mon Sep 17 00:00:00 2001 From: Franklin-F Date: Sun, 18 May 2025 20:58:19 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=9C=A8=E9=80=82=E5=BD=93=E4=BD=8D?= =?UTF-8?q?=E7=BD=AE=E9=87=8D=E6=96=B0=E8=B0=83=E7=94=A8=20gettoken=20?= =?UTF-8?q?=E6=96=B9=E6=B3=95=E4=BB=A5=E7=A1=AE=E4=BF=9D=E4=BB=A4=E7=89=8C?= =?UTF-8?q?=E6=9C=89=E6=95=88=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 728e2a6..2776719 100644 --- a/main.py +++ b/main.py @@ -563,7 +563,6 @@ def get_searchInfo(keyword, level): } """ } - gettoken() response = post_with_retry( "https://graphql.api.dailymotion.com/", json_payload=data, @@ -704,6 +703,7 @@ def integrate_data(): else: for index, (payload, kitem) in enumerate(keywords): try: + gettoken() proxiesdict = db.get_proxy_agent_dict() global Gproxies Gproxies = proxiesdict[kitem['rn']]