fix gitignore

This commit is contained in:
Cadey Ratio 2020-07-31 07:59:27 -04:00
parent 42319764c4
commit 0a100b081c
2 changed files with 4 additions and 0 deletions

2
pilno/karnycukta/.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
*.epub
*.mobi

View File

@ -60,6 +60,8 @@ pub async fn run(nuzyurli: Vec<String>, seldei: usize) -> Result<()> {
for urli in nuzyurli { for urli in nuzyurli {
let feed = read_feed(urli.clone(), cfg.clone()).await?; let feed = read_feed(urli.clone(), cfg.clone()).await?;
log::info!("reading entries for {}: {}", urli, feed.title); log::info!("reading entries for {}: {}", urli, feed.title);
println!("## {}\nBy {}\n\n", feed.title, feed.authors[0].name);
println!("[Site link]({})\n\n", feed.id);
for entry in feed.entries { for entry in feed.entries {
if ca.sub(entry.updated) > Duration::days(seldei as i64) { if ca.sub(entry.updated) > Duration::days(seldei as i64) {