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

时间:2021-05-13 07:01:10
【文件属性】:
文件名称:tor-browser-selenium:使用Selenium的Tor浏览器自动化
文件大小:36KB
文件格式:ZIP
更新时间:2021-05-13 07:01:10
automation selenium tor stem tor-browser 浏览器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 )
【文件预览】:
tor-browser-selenium-main
----setup.py(524B)
----travis.sh(572B)
----.travis.yml(2KB)
----setup.cfg(41B)
----requirements-travis.txt(57B)
----examples()
--------stem_simple.py(817B)
--------check_tpo.py(1004B)
--------bridge.py(1004B)
--------hidden_service.py(964B)
--------parallel.py(1KB)
--------headless.py(858B)
--------stem_adv.py(2KB)
--------screenshot.py(889B)
----tbselenium()
--------__init__.py(0B)
--------tbdriver.py(13KB)
--------utils.py(3KB)
--------tbbinary.py(423B)
--------.coveragerc(24B)
--------common.py(2KB)
--------test()
--------exceptions.py(336B)
----README.md(7KB)
----requirements-dev.txt(47B)
----run_tests.py(774B)

网友评论