Skip to content

MAJIAXIT/python_search_engine

Repository files navigation

python_search_engine

Usage

To use all modules run following command from terminal in project folder:

pip install -r requirements.txt

Work

  • crawler module - collect all data from page and subpages of entered domain, analyze the content on webpage and write it into the data.txt file of local domain folder.

  • searcher module - indexes the pages in the data.txt file, searches for the entered string and rank the results. Returns a list of relevant search results.

  • console_client - the console app that helps user to interact with crawler and searcher modules. This application has the full acces to the crawler and searcher modules.

  • bot_searcher - telegram bot based on the aiogram library. With this bot, the user can only search in previously collected domains. To use bot_searcher, you must create a config.py file and put bot_token = '<token>' into it with your bot token.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages