mirror of
https://codeberg.org/YGGverse/ytd.git
synced 2026-04-09 05:15:30 +00:00
rename limit option to items_limit; fix item_name_regex config example
This commit is contained in:
parent
93f9bc4fee
commit
f2b79b2a06
3 changed files with 4 additions and 4 deletions
|
|
@ -44,7 +44,7 @@ async fn main() {
|
|||
let items = result.content.items;
|
||||
debug!("received {:?} items to handle...", items.len());
|
||||
for (i, item) in items.into_iter().enumerate() {
|
||||
if channel.limit.is_some_and(|l| i > l) {
|
||||
if channel.items_limit.is_some_and(|l| i > l) {
|
||||
debug!("items limit for channel `{c}` reached at {i}; break.");
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue