Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dromse/ua-job-parser
Simple parser on rust for gathering vacancies from ukranian job websites (dou.ua, robota.ua).
https://github.com/dromse/ua-job-parser
job parser rust rust-lang
Last synced: about 1 month ago
JSON representation
Simple parser on rust for gathering vacancies from ukranian job websites (dou.ua, robota.ua).
- Host: GitHub
- URL: https://github.com/dromse/ua-job-parser
- Owner: dromse
- Created: 2023-04-04T10:26:04.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-04-07T22:16:21.000Z (over 1 year ago)
- Last Synced: 2024-10-13T15:22:07.667Z (2 months ago)
- Topics: job, parser, rust, rust-lang
- Language: Rust
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# πΊπ¦ 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`
```bash
cargo add tokio ua-job-parser
```## Usage
```rust
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 = dou::parse_vacancies(query).await;
let robota_vacancies: Vec = robota::parse_vacancies(query).await;println!("Founded vacancies from dou: {:#?}", dou_vacancies);
println!("Founded vacancies from robota: {:#?}", robota_vacancies);
}
```## TODO
- [x] implement parser for dou
- [x] 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!