From 1e311fdd5d24bb0ca5b08a9701053c0855dd50aa Mon Sep 17 00:00:00 2001 From: Julien Pontoire Date: Mon, 13 Jan 2025 17:05:00 +0100 Subject: [PATCH] Fixing error with number of posts retrieved --- minet/reddit/scraper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/minet/reddit/scraper.py b/minet/reddit/scraper.py index 34442609e1..577f8a296e 100644 --- a/minet/reddit/scraper.py +++ b/minet/reddit/scraper.py @@ -409,7 +409,7 @@ def get_general_post(self, url: str, type: str, add_text: bool, limit: int): ) yield post - n_crawled += 1 + n_crawled += 1 old_url = soup.scrape_one("span.next-button a", "href") def get_user_comments(self, url: str, limit: int):