whoogle-search/app/models
Joao A. Candido Ramos 11099f7b1d
Use consistent header for all result types (#535)
Introduces a header for switching between result types (i.e. "All", "News",
etc) that is consistent between the different result types. Previously, image
results had a tab header that was formatted in a drastically different manner,
which was jarring when switching from a different result page to the Images
page.

Created a G class enum to reference class names returned in search
results. As noted in the class doc, this should only be used/updated as
a last resort, as class names change frequently. For some instances,
such as replacing the tbm tab, it's a lot easier to just replace by
header name than attempting to replace it based on how the element is
structured.

Also updated a few styles to revert the latest styling changes being
applied by Google.

Co-authored-by: jacr13 <ramos.joao@protonmail.com>
Co-authored-by: Ben Busby <contact@benbusby.com>
2022-02-07 10:47:25 -07:00
..
__init__.py Feature: language config (#27) 2020-05-12 17:15:53 -06:00
config.py Remove default country param 2021-12-23 17:01:49 -07:00
endpoint.py Improve public instance session management (#480) 2021-11-17 19:35:30 -07:00
g_classes.py Use consistent header for all result types (#535) 2022-02-07 10:47:25 -07:00