1
0
Fork 0
mirror of https://gitlab.com/news-flash/article_scraper.git synced 2025-07-08 16:40:00 +02:00

start improving image download

This commit is contained in:
Jan Lukas Gernert 2023-04-12 08:27:22 +02:00
parent c198225012
commit 35a14b0a5f
6 changed files with 189 additions and 105 deletions

View file

@ -22,7 +22,11 @@ pub enum Commands {
All {
/// Source Url to download HTML from
#[arg(long, value_name = "URL")]
source_url: Option<String>,
source_url: String,
/// Source Url to download HTML from
#[arg(short, long)]
download_images: bool,
},
/// Only use the Readability parser
Readability {