tor-browser-selenium:使用Selenium的Tor浏览器自动化-源码

上传者: 42134554 | 上传时间: 2021-08-30 14:54:54 | 文件大小: 36KB | 文件类型: ZIP
浏览器Selenium 一个使用Selenium自动化Tor浏览器的Python库。 安装 pip install tbselenium 从安装geckodriver 。 确保您安装的是v0.23.0或更高版本。 旧版本可能与当前的Tor浏览器系列不兼容。 基本用法 与系统tor tor需要安装( apt install tor ),并在端口9050上运行。 from tbselenium . tbdriver import TorBrowserDriver with TorBrowserDriver ( "/path/to/TorBrowserBundle/" ) as driver : driver . get ( 'https://check.torproject.org' ) 与Stem使用 首先,请确保您已经安装了Stem ( pip install stem )

文件下载

资源详情

[{"title":"( 40 个子文件 36KB ) tor-browser-selenium:使用Selenium的Tor浏览器自动化-源码","children":[{"title":"tor-browser-selenium-main","children":[{"title":"setup.py <span style='color:#111;'> 524B </span>","children":null,"spread":false},{"title":"travis.sh <span style='color:#111;'> 572B </span>","children":null,"spread":false},{"title":".travis.yml <span style='color:#111;'> 1.61KB </span>","children":null,"spread":false},{"title":"setup.cfg <span style='color:#111;'> 41B </span>","children":null,"spread":false},{"title":"requirements-travis.txt <span style='color:#111;'> 57B </span>","children":null,"spread":false},{"title":"examples","children":[{"title":"stem_simple.py <span style='color:#111;'> 817B </span>","children":null,"spread":false},{"title":"check_tpo.py <span style='color:#111;'> 1004B </span>","children":null,"spread":false},{"title":"bridge.py <span style='color:#111;'> 1004B </span>","children":null,"spread":false},{"title":"hidden_service.py <span style='color:#111;'> 964B </span>","children":null,"spread":false},{"title":"parallel.py <span style='color:#111;'> 1.35KB </span>","children":null,"spread":false},{"title":"headless.py <span style='color:#111;'> 858B </span>","children":null,"spread":false},{"title":"stem_adv.py <span style='color:#111;'> 2.32KB </span>","children":null,"spread":false},{"title":"screenshot.py <span style='color:#111;'> 889B </span>","children":null,"spread":false}],"spread":true},{"title":"tbselenium","children":[{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"tbdriver.py <span style='color:#111;'> 12.96KB </span>","children":null,"spread":false},{"title":"utils.py <span style='color:#111;'> 3.46KB </span>","children":null,"spread":false},{"title":"tbbinary.py <span style='color:#111;'> 423B </span>","children":null,"spread":false},{"title":".coveragerc <span style='color:#111;'> 24B </span>","children":null,"spread":false},{"title":"common.py <span style='color:#111;'> 1.97KB </span>","children":null,"spread":false},{"title":"test","children":[{"title":"test_disable_javascript.py <span style='color:#111;'> 862B </span>","children":null,"spread":false},{"title":"conftest.py <span style='color:#111;'> 1.27KB </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 428B </span>","children":null,"spread":false},{"title":"test_set_security_level.py <span style='color:#111;'> 5.31KB </span>","children":null,"spread":false},{"title":"test_tbdriver.py <span style='color:#111;'> 2.75KB </span>","children":null,"spread":false},{"title":"test_tor.py <span style='color:#111;'> 619B </span>","children":null,"spread":false},{"title":"test_env.py <span style='color:#111;'> 807B </span>","children":null,"spread":false},{"title":"test_utils.py <span style='color:#111;'> 889B </span>","children":null,"spread":false},{"title":"test_stem.py <span style='color:#111;'> 2.04KB </span>","children":null,"spread":false},{"title":"test_browser.py <span style='color:#111;'> 2.50KB </span>","children":null,"spread":false},{"title":"test_data","children":[{"title":"xulschoolhello1.xpi <span style='color:#111;'> 2.66KB </span>","children":null,"spread":false}],"spread":false},{"title":"test_screenshot.py <span style='color:#111;'> 1.34KB </span>","children":null,"spread":false},{"title":"test_addons.py <span style='color:#111;'> 1.70KB </span>","children":null,"spread":false},{"title":"test_exceptions.py <span style='color:#111;'> 4.57KB </span>","children":null,"spread":false},{"title":"test_context_switch.py <span style='color:#111;'> 1.62KB </span>","children":null,"spread":false},{"title":"test_bridge.py <span style='color:#111;'> 1.64KB </span>","children":null,"spread":false},{"title":"fixtures.py <span style='color:#111;'> 4.08KB </span>","children":null,"spread":false}],"spread":false},{"title":"exceptions.py <span style='color:#111;'> 336B </span>","children":null,"spread":false}],"spread":true},{"title":"README.md <span style='color:#111;'> 6.72KB </span>","children":null,"spread":false},{"title":"requirements-dev.txt <span style='color:#111;'> 47B </span>","children":null,"spread":false},{"title":"run_tests.py <span style='color:#111;'> 774B </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明