From ac2c06fe225a3ed95c4cf858de9dc36cef5a1cb1 Mon Sep 17 00:00:00 2001 From: vvzvlad Date: Sat, 22 Mar 2025 13:55:04 +0300 Subject: [PATCH] Update limit validation in generate_channel_rss to allow a maximum of 200 instead of 100 --- rss_generator.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rss_generator.py b/rss_generator.py index 933904d..b250bc1 100644 --- a/rss_generator.py +++ b/rss_generator.py @@ -263,8 +263,8 @@ async def generate_channel_rss(channel: str, """ if limit < 1: raise ValueError(f"limit must be positive, got {limit}") - if limit > 100: - raise ValueError(f"limit cannot exceed 100, got {limit}") + if limit > 200: + raise ValueError(f"limit cannot exceed 200, got {limit}") try: if post_parser is None: