完成作业X

This commit is contained in:
2509165036
2026-03-24 10:46:04 +08:00
parent 545a1e905e
commit 5ed4959e22
2 changed files with 6 additions and 0 deletions

5
text.py Normal file
View File

@@ -0,0 +1,5 @@
import requests
url = "https://m.douban.com/subject_collection/ECGRADN5Q"
response = requests.get(url,headers=header,params={'key':'value'})
print(response.status_code)
//*[@id="content"]/h1/span[1]