To use all modules run following command from terminal in project folder:
pip install -r requirements.txt
-
crawlermodule - 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. -
searchermodule - 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 withcrawlerandsearchermodules. This application has the full acces to thecrawlerandsearchermodules. -
bot_searcher- telegram bot based on the aiogram library. With this bot, the user can only search in previously collected domains. To usebot_searcher, you must create aconfig.pyfile and putbot_token = '<token>'into it with your bot token.