2022-02-07 20:47:25 +03:00
|
|
|
from enum import Enum
|
|
|
|
|
|
|
|
|
|
|
|
class GClasses(Enum):
|
|
|
|
"""A class for tracking obfuscated class names used in Google results that
|
|
|
|
are directly referenced in Whoogle's filtering code.
|
|
|
|
|
|
|
|
Note: Using these should be a last resort. It is always preferred to filter
|
|
|
|
results using structural cues instead of referencing class names, as these
|
|
|
|
are liable to change at any moment.
|
|
|
|
"""
|
|
|
|
main_tbm_tab = 'KP7LCb'
|
|
|
|
images_tbm_tab = 'n692Zd'
|
2022-03-01 22:48:33 +03:00
|
|
|
footer = 'TuS8Ad'
|
2022-02-07 20:47:25 +03:00
|
|
|
|
|
|
|
def __str__(self):
|
|
|
|
return self.value
|