source of - the search provider for gemini space
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
482 B

from gus import constants
from gus.lib.db_model import init_db, Page
from gus.lib.gemini import GeminiResource, GeminiRobotFileParser
def main():
db = init_db(f"{constants.DB_FILENAME}")
for page in
print(f"\nBefore: {page.normalized_url}")
page.normalized_url = GeminiResource(page.url).normalized_url
print(f"After : {page.normalized_url}")
if __name__ == "__main__":