forked from cadey/maj
fix gitignore
This commit is contained in:
parent
c6567cc99d
commit
91328c4188
|
@ -0,0 +1,2 @@
|
||||||
|
*.epub
|
||||||
|
*.mobi
|
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue