twint库ss代理设置

 官方demo改一下,

ss本地代理端口配置为1080

#test.py

import twint

# Configure
c = twint.Config()
c.Username = "Twitter"
c.Proxy_host = '127.0.0.1'
c.Proxy_port = '1080'
c.Proxy_type = 'http'
# Run
twint.run.Search(c)
发布了115 篇原创文章 · 获赞 34 · 访问量 9万+

猜你喜欢

转载自blog.csdn.net/u011519550/article/details/103654720