whoogle-search/app/utils
Ahmad Alkadri 3dda8b25ef
Escape html text in result body (#912)
Moved the cleaner functions to app/utils/escaper.py

Removed unused import 're'

Moved the cleaner functionalities to the "search.py" and "routes.py"

Making sure escaped chars stay escaped during process

Replaced "<" and ">" with "andlt;" and "andgt;", respectively. This way,
when the 'response' object get loaded to bsoup (which happens several times
throughout the process between search.py and routes.py), bsoup will not
unescape them.
2022-12-29 15:19:28 -07:00
..
__init__.py Project refactor (#85) 2020-06-02 12:54:47 -06:00
bangs.py Fix handling of bangs (#851) 2022-09-30 14:39:13 -06:00
misc.py Allow different `true` values for config vars (#841) 2022-09-07 12:54:43 -06:00
results.py Only extract domain+ext when using site alts 2022-12-08 10:54:21 -07:00
search.py Escape html text in result body (#912) 2022-12-29 15:19:28 -07:00
session.py Use app init enc key by default for all queries 2022-12-05 12:14:14 -07:00