Merge branch 'master' of github.com:luzhisheng/js_reverse

This commit is contained in:
luzhisheng 2023-03-24 11:15:31 +08:00
commit 1938fe9f0a
2 changed files with 0 additions and 30 deletions

View File

@ -1,25 +0,0 @@
import requests
def challenge19():
url = "https://www.python-spider.com/api/challenge19"
payload = "page=1"
session = requests.session()
headers = {
'Content-Type': 'text/plain'
}
session.headers = headers
response = session.request("POST", url, headers=headers, data=payload)
return response.text
def run():
data_num = 0
for page in range(1, 101):
response_content = challenge19()
print(response_content)
exit()
if __name__ == '__main__':
run()

View File

@ -1,5 +0,0 @@
# 知识点:
## 解题思路
模拟请求地址发现返回的是一串js