This commit is contained in:
2509165007
2026-03-31 11:35:23 +08:00
parent f608f79aeb
commit f6f5c3e778

11
5.py Normal file
View File

@@ -0,0 +1,11 @@
import requests
improt re
headers = {
'User-Agent':'Mozilla/5.0(Windows NT 10.0;Win64; x64)AppleWebKit/537.36'
}
url='http://movie.douban.com/top250'
response = requests.get(url,headers=headers)
html = response.text