replaywebpage

This commit is contained in:
msramalho
2023-01-22 00:48:09 +00:00
parent 746f6a333e
commit 092ffdb6d8
5 changed files with 36 additions and 26 deletions

View File

@@ -14,7 +14,8 @@ class CLIFeeder(Feeder):
def __init__(self, config: dict) -> None:
# without this STEP.__init__ is not called
super().__init__(config)
assert type(self.urls) == list and len(self.urls) > 0, "Please provide a CSV list of URL(s) to process, with --cli_feeder.urls='url1,url2,url3'"
if type(self.urls) != list or len(self.urls) == 0:
logger.info(f"CLI Feeder did not receive any URL to process")
@staticmethod
def configs() -> dict: