Commit 0da35fe0 authored by TesterYao's avatar TesterYao

1

parent f4b41fcc
......@@ -54,6 +54,7 @@ def get_pg_list():
if __name__ == '__main__':
ding_list=[]
base_url = 'http://mp.weixinbridge.com/mp/wapredirect?url=' # 微信官方接口,可用于域名巡查,后面拼接上需要巡查的域名或链接
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'}
......@@ -63,7 +64,9 @@ if __name__ == '__main__':
ck_url_list = get_pg_list()
for k, v in ck_url_list.items():
if check_domain(v):
send_messages('广告主落地页链接被封,被封链接为:' + v)
ding_list.append(v)
if ding_list.count(v)<4:
send_messages(k+'被封,被封链接为:' + v)
if k.startswith('全民'):
qm.post_block_list(v)
sleep(2)
......
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