Skip to content

IceTweak/gohunterbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GoHunterBot

HeadHunter bot that raises resumes in searches after a certain time interval.

Description

Bot have ordinary construction with 3 components in it:

type Bot struct {
	ResourceUrl   string
	BorwserCaps   selenium.Capabilities
	Refreshing    time.Duration
}
  • ResourceUrl - link to page that bot will visiting;
  • BorwserCaps - it's external library struct from tebeka/selenium. Capabilities configures both the WebDriver process and the target browsers, with standard and browser-specific options;
  • Refreshing - repeating time interval after which the bot will perform its target actions using the selenium webdriver.

How to use

Below are described ways to launch this bot locally with the necessary configuration.

  1. Clone this repo by typing in terminal:

    git clone https://github.com/IceTweak/gohunterbot.git
    cd gohunterbot
  2. Build Docker Image using Dockerfile

    docker build --tag hh-bot .
  3. Check builded image via:

    docker images

    should print out same thing:

    REPOSITORY                   TAG       IMAGE ID       CREATED         SIZE
    hh-bot                       latest    5ddbe4b65cc1   5 seconds ago   20.4MB
  4. Run image using docker compose:

    docker compose up (run command in the same folder as compose.yaml file).

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published