Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
wxScanck
Project
Project
Details
Activity
Releases
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
yaozheng
wxScanck
Commits
0da35fe0
Commit
0da35fe0
authored
Aug 26, 2022
by
TesterYao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
f4b41fcc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
wx-cli-ck.py
wx-cli-ck.py
+4
-1
No files found.
wx-cli-ck.py
View file @
0da35fe0
...
@@ -54,6 +54,7 @@ def get_pg_list():
...
@@ -54,6 +54,7 @@ def get_pg_list():
if
__name__
==
'__main__'
:
if
__name__
==
'__main__'
:
ding_list
=
[]
base_url
=
'http://mp.weixinbridge.com/mp/wapredirect?url='
# 微信官方接口,可用于域名巡查,后面拼接上需要巡查的域名或链接
base_url
=
'http://mp.weixinbridge.com/mp/wapredirect?url='
# 微信官方接口,可用于域名巡查,后面拼接上需要巡查的域名或链接
session
=
requests
.
session
()
session
=
requests
.
session
()
headers
=
{
'User-Agent'
:
'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36'
}
headers
=
{
'User-Agent'
:
'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36'
}
...
@@ -63,7 +64,9 @@ if __name__ == '__main__':
...
@@ -63,7 +64,9 @@ if __name__ == '__main__':
ck_url_list
=
get_pg_list
()
ck_url_list
=
get_pg_list
()
for
k
,
v
in
ck_url_list
.
items
():
for
k
,
v
in
ck_url_list
.
items
():
if
check_domain
(
v
):
if
check_domain
(
v
):
send_messages
(
'广告主落地页链接被封,被封链接为:'
+
v
)
ding_list
.
append
(
v
)
if
ding_list
.
count
(
v
)
<
4
:
send_messages
(
k
+
'被封,被封链接为:'
+
v
)
if
k
.
startswith
(
'全民'
):
if
k
.
startswith
(
'全民'
):
qm
.
post_block_list
(
v
)
qm
.
post_block_list
(
v
)
sleep
(
2
)
sleep
(
2
)
...
...
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