Skip to content

Commit

Permalink
Fixing error with number of posts retrieved
Browse files Browse the repository at this point in the history
  • Loading branch information
jpontoire committed Jan 13, 2025
1 parent 2fdfb61 commit 1e311fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion minet/reddit/scraper.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 1e311fd

Please sign in to comment.