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')