#website #job #parser #gathering #ua #ukranian #vacancies

ua-job-parser

Simple parser for gathering vacancies from ukranian job websites

1 unstable release

0.2.0 Apr 7, 2023
0.1.3 Apr 7, 2023
0.1.2 Apr 6, 2023
0.1.1 Apr 6, 2023
0.1.0 Apr 6, 2023

#6 in #gathering

Download history 23/week @ 2024-02-23 13/week @ 2024-03-01 18/week @ 2024-03-29 1/week @ 2024-04-05 41/week @ 2024-04-12

60 downloads per month

MIT license

13KB
265 lines

πŸ‡ΊπŸ‡¦ UA JOB PARSER

[🚧 in unstable-development stage]

Simple parser for gathering vacancies from ukranian job websites.

Install

  • in Cargo.toml
[dependencies]
tokio = "*"
ua-job-parser = "*"
  • or use cargo-add
cargo add tokio ua-job-parser

Usage

use ua_job_parser::{dou, robota, Vacancy};

#[tokio::main]
async fn main() {
    let query = "rust developer";

    // return list of vacancies
    // if nothing was found, return empty list
    let dou_vacancies: Vec<Vacancy> = dou::parse_vacancies(query).await; 
    let robota_vacancies: Vec<Vacancy> = robota::parse_vacancies(query).await; 

    println!("Founded vacancies from dou: {:#?}", dou_vacancies);
    println!("Founded vacancies from robota: {:#?}", robota_vacancies);
}

TODO

  • implement parser for dou
  • implement parser for robota (upd. use api.robota.ua instead of parsing html)
  • implement parser for work

Contribution

I'll be glad if you take a look at my code and give me some advice or pull requests!

Dependencies

~12–27MB
~420K SLoC