2023-02-21 03:14:00 +03:00
|
|
|
attrs==22.2.0
|
|
|
|
beautifulsoup4==4.11.2
|
2022-09-22 23:14:56 +03:00
|
|
|
brotli==1.0.9
|
2023-02-21 03:14:00 +03:00
|
|
|
cachelib==0.10.2
|
2023-08-02 19:46:09 +03:00
|
|
|
certifi==2023.7.22
|
2023-02-21 03:14:00 +03:00
|
|
|
cffi==1.15.1
|
|
|
|
chardet==5.1.0
|
|
|
|
click==8.1.3
|
2023-02-22 00:28:15 +03:00
|
|
|
cryptography==3.3.2; platform_machine == 'armv7l'
|
2023-12-06 01:22:52 +03:00
|
|
|
cryptography==41.0.6; platform_machine != 'armv7l'
|
2023-02-21 03:14:00 +03:00
|
|
|
cssutils==2.6.0
|
2022-03-01 22:54:32 +03:00
|
|
|
defusedxml==0.7.1
|
2023-05-09 02:22:07 +03:00
|
|
|
Flask==2.3.2
|
2023-02-21 03:14:00 +03:00
|
|
|
idna==3.4
|
|
|
|
itsdangerous==2.1.2
|
|
|
|
Jinja2==3.1.2
|
|
|
|
MarkupSafe==2.1.2
|
|
|
|
more-itertools==9.0.0
|
|
|
|
packaging==23.0
|
|
|
|
pluggy==1.0.0
|
|
|
|
pycodestyle==2.10.0
|
2021-12-22 00:02:13 +03:00
|
|
|
pycparser==2.21
|
2023-02-22 00:28:15 +03:00
|
|
|
pyOpenSSL==19.1.0; platform_machine == 'armv7l'
|
2023-06-27 00:43:18 +03:00
|
|
|
pyOpenSSL==23.2.0; platform_machine != 'armv7l'
|
2023-02-21 03:14:00 +03:00
|
|
|
pyparsing==3.0.9
|
Add tor and http/socks proxy support (#137)
* Add tor and http/socks proxy support
Allows users to enable/disable tor from the config menu, which will
forward all requests through Tor.
Also adds support for setting environment variables for alternative
proxy support. Setting the following variables will forward requests
through the proxy:
- WHOOGLE_PROXY_USER (optional)
- WHOOGLE_PROXY_PASS (optional)
- WHOOGLE_PROXY_TYPE (required)
- Can be "http", "socks4", or "socks5"
- WHOOGLE_PROXY_LOC (required)
- Format: "<ip address>:<port>"
See #30
* Refactor acquire_tor_conn -> acquire_tor_identity
Also updated travis CI to set up tor
* Add check for Tor socket on init, improve Tor error handling
Initializing the app sends a heartbeat request to Tor to check for
availability, and updates the home page config options accordingly. This
heartbeat is sent on every request, to ensure Tor support can be
reconfigured without restarting the entire app.
If Tor support is enabled, and a subsequent request fails, then a new
TorError exception is raised, and the Tor feature is disabled until a
valid connection is restored.
The max attempts has been updated to 10, since 5 seemed a bit too low
for how quickly the attempts go by.
* Change send_tor_signal arg type, update function doc
send_tor_signal now accepts a stem.Signal arg (a bit cleaner tbh). Also
added the doc string for the "disable" attribute in TorError.
* Fix tor identity logic in Request.send
* Update proxy init, change proxyloc var name
Proxy is now only initialized if both type and location are specified,
as neither have a default fallback and both are required. I suppose the
type could fall back to http, but seems safer this way.
Also refactored proxyurl -> proxyloc for the runtime args in order to
match the Dockerfile args.
* Add tor/proxy support for Docker builds, fix opensearch/init
The Dockerfile is now updated to include support for Tor configuration,
with a working torrc file included in the repo.
An issue with opensearch was fixed as well, which was uncovered during
testing and was simple enough to fix here. Likewise, DDG bang gen was
updated to only ever happen if the file didn't exist previously, as
testing with the file being regenerated every time was tedious.
* Add missing "@" for socks proxy requests
2020-10-29 03:47:42 +03:00
|
|
|
PySocks==1.7.1
|
2023-02-21 03:14:00 +03:00
|
|
|
pytest==7.2.1
|
|
|
|
python-dateutil==2.8.2
|
2023-05-26 00:50:12 +03:00
|
|
|
requests==2.31.0
|
2023-02-21 03:14:00 +03:00
|
|
|
soupsieve==2.4
|
|
|
|
stem==1.8.1
|
2023-11-01 23:08:29 +03:00
|
|
|
urllib3==1.26.18
|
2023-09-14 00:51:35 +03:00
|
|
|
validators==0.22.0
|
2022-06-03 22:41:12 +03:00
|
|
|
waitress==2.1.2
|
2023-02-21 03:14:00 +03:00
|
|
|
wcwidth==0.2.6
|
2023-11-01 23:08:49 +03:00
|
|
|
Werkzeug==3.0.1
|
2023-02-21 03:14:00 +03:00
|
|
|
python-dotenv==0.21.1
|