From e957334b65f080688f3a8866ba43e7d1e49e56ea Mon Sep 17 00:00:00 2001 From: luzhisheng Date: Fri, 12 Jan 2024 23:41:52 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=83=A8=E5=88=86=E8=BF=87?= =?UTF-8?q?=E6=97=B6=E7=9A=84=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../猿人学第15题-url时间戳参数-WebAssembly/{readme.md => README.md} | 0 .../猿人学第15题-url时间戳参数-WebAssembly/案例1.py | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename 猿人学Web端爬虫攻防刷题平台/猿人学第15题-url时间戳参数-WebAssembly/{readme.md => README.md} (100%) diff --git a/猿人学Web端爬虫攻防刷题平台/猿人学第15题-url时间戳参数-WebAssembly/readme.md b/猿人学Web端爬虫攻防刷题平台/猿人学第15题-url时间戳参数-WebAssembly/README.md similarity index 100% rename from 猿人学Web端爬虫攻防刷题平台/猿人学第15题-url时间戳参数-WebAssembly/readme.md rename to 猿人学Web端爬虫攻防刷题平台/猿人学第15题-url时间戳参数-WebAssembly/README.md diff --git a/猿人学Web端爬虫攻防刷题平台/猿人学第15题-url时间戳参数-WebAssembly/案例1.py b/猿人学Web端爬虫攻防刷题平台/猿人学第15题-url时间戳参数-WebAssembly/案例1.py index 684fd54..b4f5f7c 100644 --- a/猿人学Web端爬虫攻防刷题平台/猿人学第15题-url时间戳参数-WebAssembly/案例1.py +++ b/猿人学Web端爬虫攻防刷题平台/猿人学第15题-url时间戳参数-WebAssembly/案例1.py @@ -20,7 +20,7 @@ for i in range(1, 6): "User-Agent": "yuanrenxue.project", "cookie": f"sessionid=1u2ghdn3n2kg56t7kq0opn9ljixfisau;", } - res = requests.get(url=f"https://match.yuanrenxue.com/api/match/15?m={m}&page={i}", headers=Headers) + res = requests.get(url=f"https://match.yuanrenxue.cn/api/match/15?m={m}&page={i}", headers=Headers) res_dict = json.loads(res.text) for j in res_dict.get('data'): sum_value += j.get('value')