Skip to content

khoribz/VacancyBot

Repository files navigation

Telegram bot for job search in Moscow

This bot offers a choice of profession, which is used to search for vacancies on the site https://www.superjob.ru

To launch the bot, you need to register the following commands in the console:

git clone https://github.com/khoribz/review2.git -b dev
cd review2
pip3 install -r requirements.txt
python3 bot.py;

Now you can find a Telegram bot @GetVacancyBot and look for a job)

bot.py - a file containing the main functions used when interacting with the bot
parse.py - a file in which information about vacancies is searched depending on the chosen profession
database.py - a file containing functions that work with databases
const.py - a file containing constants
global_var.py - a file containing global variables
jobs_name.py - a file containing a dictionary of the profession and its part of the address on the site tests.py - a file containing tests of the site parsing results
requirements.txt - project launch requirements
Procfile - the file needed to connect the bot to the Heroku server

Bot commands:

/start - start the bot
/help - further instructions after the start
/search - a command to show professions for which vacancies can be found /more - show more vacancies for the chosen profession

Testing:

To test the results of site parsing, it is necessary, while in the directory with the project, to register the following command in the console:

pytest tests.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published