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
fd633d56
Commit
fd633d56
authored
Jul 11, 2023
by
JinyinQiao
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev-liyang' of
http://39.105.40.203/liyang/network-assets-reptile
into dev-liyang
parents
1be5719c
c077ada2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
pc_ptt.py
pc_ptt.py
+8
-8
pc_video.py
pc_video.py
+0
-0
No files found.
pc_ptt.py
View file @
fd633d56
...
...
@@ -156,15 +156,15 @@ def reptile(browser=None, search_word=""):
}
# --------------- 组装数据 end---------------------
#
data.append(obj)
data
.
append
(
obj
)
# 使用正则表达式进行匹配
matches
=
re
.
findall
(
search_word
,
element_title
.
text
)
# 打印匹配结果
if
matches
:
# log.debug(f"找到了匹配的字符串:{matches}")
data
.
append
(
obj
)
else
:
log
.
debug
(
"未找到匹配的字符串"
)
#
matches = re.findall(search_word, element_title.text)
#
#
打印匹配结果
#
if matches:
#
# log.debug(f"找到了匹配的字符串:{matches}")
#
data.append(obj)
#
else:
#
log.debug("未找到匹配的字符串")
# 浏览器返回上一页
browser
.
back
()
...
...
pc_video.py
0 → 100644
View file @
fd633d56
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