Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
C
crawler
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chengyang Zhong
crawler
Commits
b6e8876f
Commit
b6e8876f
authored
4 years ago
by
litaolemo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
f6df7c42
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
crawler_toutiao.py
crawler_sys/site_crawler/crawler_toutiao.py
+2
-1
No files found.
crawler_sys/site_crawler/crawler_toutiao.py
View file @
b6e8876f
...
...
@@ -399,6 +399,7 @@ class Crawler_toutiao():
if
get_page
.
status_code
!=
200
:
continue
page_dict
=
get_page
.
json
()
print
(
page_dict
)
if
page_dict
[
'data'
]:
for
one_line
in
page_dict
[
'data'
]:
try
:
...
...
@@ -1814,4 +1815,4 @@ if __name__ == '__main__':
# doc_type='doc',
# releaser_page_num_max=3, proxies_num=1))
# test.releaser_page(u)
test
.
search_page
(
"
薄唇适合什么颜色的口红
"
)
test
.
search_page
(
"
5热玛吉
"
)
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment