whoogle-search/app/utils
Ben Busby c51dad7529 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.
2020-10-25 21:14:20 -04:00
..
__init__.py Project refactor (#85) 2020-06-02 12:54:47 -06:00
filter_utils.py Clarified country filter, updated invidious result URL (closes #123) 2020-09-17 18:59:37 -04:00
gen_ddg_bangs.py Finished basic implementation of DDG bang feature 2020-10-10 15:55:14 -04:00
routing_utils.py Add check for Tor socket on init, improve Tor error handling 2020-10-25 21:14:20 -04:00
session_utils.py Privacy respecting alternatives in results view (#106) 2020-07-26 11:53:59 -06:00