diff --git a/task-2-1-data-collection b/task-2-1-data-collection new file mode 160000 index 0000000..545a1e9 --- /dev/null +++ b/task-2-1-data-collection @@ -0,0 +1 @@ +Subproject commit 545a1e905e067b8bdc100ea5d86334c5e0abeaa9 diff --git a/text.py b/text.py new file mode 100644 index 0000000..71428a1 --- /dev/null +++ b/text.py @@ -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]