Commit 7e08e22c authored by litaolemo's avatar litaolemo

update

parent b5ea9738
......@@ -399,7 +399,9 @@ class Crawler_toutiao():
if get_page.status_code != 200:
continue
page_dict = get_page.json()
print(page_dict)
if page_dict["has_more"] == 0:
break
# print(page_dict)
if page_dict['data']:
for one_line in page_dict['data']:
try:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment