Commit 571d11b1 authored by TesterYao's avatar TesterYao

1

parent de5ddfcb
......@@ -42,10 +42,15 @@ def check_domain(check_url,i=0):
LOG.error('微信域名巡查脚本,执行巡查时出错,请及时处理!!!')
def get_pg_list():
pg_url = 'https://engine.tuia.cn/apollo/getIdMapStrByKeyStr?keyStr=wx.ad.land'
pg_url = 'https://engine.tuia.cn/apollo/getIdMapStrByKeyStr?keyStr=wx.ad.page'
r = requests.get(url=pg_url)
pg_lsit = []
if r.ok:
return r.text.split(',')
res = eval(r.text)
for k,v in res.items():
pg_lsit.append(v)
return pg_lsit
if __name__ == '__main__':
......
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