自动添加芝麻代理白名单的方法

import subprocess as sb
import requests

if __name__ == '__main__':
   #获取服务器的出口ip ip
= sb.getoutput('curl ifconfig.me').split(' ')[-1]
#调用芝麻添加白名单的链接,添加即可 response
= requests.get('curl web.http.cnapi.cc/index/index/save_white?neek=6ppkey=fae10aa1d846f09a2ea&white='+ip)

Published by

风君子

独自遨游何稽首 揭天掀地慰生平

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注