Skip to content

Snawoot/rabotaua-cv-updater

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

rabotaua-cv-updater

Python script to update your CV on https://rabota.ua/ every 30 minites.

Requirements

You need to have installed Chromium or Google Chrome browser.

Installation

Run within source directory:

pip3 install .

rabotaua-cv-updater executable command should become immediately available. Alternatively, you may invoke application with python3 -m rabotaua_cv_updater ... command

Set your account

Run:

rabotaua-cv-updater login

Browser window will pop up, prompting user to login. Once login will be acknowledged by application, browser window will be closed.

Update all resumes

Run:

rabotaua-cv-updater update

Application will be running continously, updating all your CV's in random intervals about to 30 minutes. If application is being restarted, it will figure out next update from own records on last update.

Datadir structure

~/.config/rabotaua-cv-updater
├── updater.db # SQLite database with last update timestamp
└── profile    # browser profile

Running on remote server

  • Option 1: use X forwading via SSH in order to perform login via browser UI: ssh -Y user@host
  • Option 2: perform login on your local system and copy datadir to remote server

Synopsis

$ rabotaua-cv-updater -h
usage: rabotaua-cv-updater [-h] [-t TIMEOUT] [-b {chrome,chromium}]
                     [-v {debug,info,warn,error,fatal}] [-d FILE]
                     {login,update}

Python script to update your CV

positional arguments:
  {login,update}        command

optional arguments:
  -h, --help            show this help message and exit
  -t TIMEOUT, --timeout TIMEOUT
                        webdriver wait timeout (default: 10.0)
  -b {chrome,chromium}, --browser {chrome,chromium}
                        browser type (default: chromium)
  -v {debug,info,warn,error,fatal}, --verbosity {debug,info,warn,error,fatal}
                        logging verbosity (default: info)
  -d FILE, --data-dir FILE
                        application datadir location (default:
                        ~/.config/rabotaua-cv-updater)