Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
N
network-assets-reptile
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
liyang
network-assets-reptile
Commits
27018e2d
Commit
27018e2d
authored
Aug 09, 2023
by
liyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:twitter debug
parent
6c528f44
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
pc_twitter.py
pc_twitter.py
+1
-1
No files found.
pc_twitter.py
View file @
27018e2d
...
...
@@ -88,7 +88,7 @@ def reptile(browser=None, search_word=""):
element_content_list
=
browser
.
find_elements
(
'xpath'
,
base_xpath
)
# 小于10条,加载下一页
if
len
(
element_content_list
and
includes
)
<
10
:
if
len
(
element_content_list
)
<=
10
and
includes
:
browser
.
execute_script
(
"window.scrollTo(0, document.body.scrollHeight);"
)
time
.
sleep
(
2
)
element_content_list
=
browser
.
find_elements
(
'xpath'
,
base_xpath
)
...
...
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