【文件属性】:
文件名称:PyTor:用于Tor网络的HTTP请求的Python模块
文件大小:10KB
文件格式:ZIP
更新时间:2021-04-27 14:35:34
Python
PyTor
Tor网络的HTTP请求的Python模块。 当响应请求而检测到字符串标记时,PyTor会自动更改IP地址。
要求
托尔
聚氧乙烯
安装
注意:首先安装pip和git
pip install git+git://github.com/adibalcan/PyTor.git@master
用法
import pytor
# Use here, password from tor configuration
pytor.password='YOURPASSWORD'
# Automatically change the IP address if one of those strings are met in http response
pytor.invalidStringList = ['Sorry, you\'re not allowed to access this p
【文件预览】:
PyTor-master
----LICENSE(18KB)
----setup.py(379B)
----README.md(2KB)
----pytor.py(4KB)