mirror of
https://github.com/YGGverse/rssto.git
synced 2026-03-31 09:05:29 +00:00
increase nl count
This commit is contained in:
parent
0e6ee4cb22
commit
6d4e2438af
1 changed files with 1 additions and 1 deletions
|
|
@ -61,7 +61,7 @@ fn crawl(feed: &Feed) -> Result<()> {
|
|||
let channel = Channel::read_from(&get(feed.url.as_str())?.bytes()?[..])?;
|
||||
let channel_items = channel.items();
|
||||
let channel_items_limit = feed.list_items_limit.unwrap_or(channel_items.len());
|
||||
let regex = regex::Regex::new(r"\n{2,}").unwrap();
|
||||
let regex = regex::Regex::new(r"\n{3,}").unwrap();
|
||||
|
||||
for template in &feed.templates {
|
||||
let root = PathBuf::from(template);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue