mirror of
https://github.com/bellingcat/cisticola.git
synced 2026-06-12 21:38:33 +03:00
Remove 200 post limit; add log rotation
This commit is contained in:
@@ -403,9 +403,6 @@ class ScraperController:
|
||||
session.commit()
|
||||
added += 1
|
||||
|
||||
if added >= 200:
|
||||
break
|
||||
|
||||
session.commit()
|
||||
logger.info(
|
||||
f"{scraper} found {added} new posts from {channel}")
|
||||
@@ -507,4 +504,4 @@ class ScraperController:
|
||||
self.connect_to_db(self.engine)
|
||||
|
||||
class ChannelDoesNotExistError(Exception):
|
||||
"""The specified channel does not exist or has been deleted."""
|
||||
"""The specified channel does not exist or has been deleted."""
|
||||
|
||||
Reference in New Issue
Block a user