A webscraper for forex news written in RUST programming.
SUPPORTED FOREX NEWS SITE
- Forex Factory
- DATABASE_URL - The connection string of the MySQL Database
mysql://<database_username>:<database_password>@<database_host>:<database_port>/<database_name>
- START_YEAR - The start range of the year to crawl.
START_YEAR=<YEAR>
- END_YEAR - The end range of the year to crawl.
END_YEAR=<YEAR>
sea-orm-cli generate entity -v -o src/models
Note: Do not modify the entity files. The cli command will overwrite it.
sea-orm-cli migrate up
sea-orm-cli migrate down
docker-compsoe -f db-docker-compose.yml up -d
cargo test
cargo run
- Database ORM - https://www.sea-ql.org/SeaORM/docs/index/
- SeaORM Crate - https://docs.rs/sea-orm/0.12.14/sea_orm/index.html
- Headless Chrome - https://docs.rs/headless_chrome/latest/headless_chrome/
- JP Mateo (jpmateo022@gmail.com)