Add initial project structure with README, Cargo configuration, and main logic

- Create .gitignore to exclude target and output directories
- Initialize Cargo.toml with project metadata and dependencies
- Add README.md with project description, features, installation, and usage instructions
- Implement main.rs for extracting blog posts from HTML files and exporting to JSON and text formats
This commit is contained in:
2025-12-11 21:22:31 +01:00
commit 56306a4852
5 changed files with 744 additions and 0 deletions

9
Cargo.toml Normal file
View File

@@ -0,0 +1,9 @@
[package]
name = "blog-extractor"
version = "0.1.0"
edition = "2024"
[dependencies]
scraper = "0.25.0"
serde = { version = "1.0.228", features = ["derive"] }
serde_json = "1.0.145"