Python scraper based on AI
Python ai-crawlerai-scrapingai-searchcrawlerdata-extractionfirecrawl-alternativelarge-language-modelllmmarkdownragscrapingscraping-pythonweb-crawlerweb-crawlersweb-dataweb-data-extractionweb-scraperweb-scrapingweb-searchwebscraping
fix: remove variable "max_result" not being used in the code
roryhaunge76a68a782e5
diff --git a/scrapegraphai/graphs/csv_scraper_multi_graph.py b/scrapegraphai/graphs/csv_scraper_multi_graph.pyindex e7a028f3..284a49ac 100644--- a/scrapegraphai/graphs/csv_scraper_multi_graph.py+++ b/scrapegraphai/graphs/csv_scraper_multi_graph.py@@ -44,7 +44,6 @@ class CSVScraperMultiGraph(AbstractGraph):def __init__(self, prompt: str, source: List[str],config: dict, schema: Optional[BaseModel] = None):- self.max_results = config.get("max_results", 3)self.copy_config = safe_deepcopy(config)self.copy_schema = deepcopy(schema)diff --git a/scrapegraphai/graphs/json_scraper_multi_graph.py b/scrapegraphai/graphs/json_scraper_multi_graph.pyindex 6e5434f0..a6dd22d4 100644--- a/scrapegraphai/graphs/json_scraper_multi_graph.py+++ b/scrapegraphai/graphs/json_scraper_multi_graph.py@@ -44,7 +44,6 @@ class JSONScraperMultiGraph(AbstractGraph):def __init__(self, prompt: str, source: List[str],config: dict, schema: Optional[BaseModel] = None):- self.max_results = config.get("max_results", 3)self.copy_config = safe_deepcopy(config)self.copy_schema = deepcopy(schema)diff --git a/scrapegraphai/graphs/script_creator_multi_graph.py b/scrapegraphai/graphs/script_creator_multi_graph.pyindex de1ab6f7..a5598936 100644--- a/scrapegraphai/graphs/script_creator_multi_graph.py+++ b/scrapegraphai/graphs/script_creator_multi_graph.py@@ -43,8 +43,6 @@ class ScriptCreatorMultiGraph(AbstractGraph):def __init__(self, prompt: str, source: List[str],config: dict, schema: Optional[BaseModel] = None):- self.max_results = config.get("max_results", 3)-self.copy_config = safe_deepcopy(config)self.copy_schema = deepcopy(schema)super().__init__(prompt, config, source, schema)diff --git a/scrapegraphai/graphs/smart_scraper_multi_concat_graph.py b/scrapegraphai/graphs/smart_scraper_multi_concat_graph.pyindex 0bd84a55..312d6457 100644--- a/scrapegraphai/graphs/smart_scraper_multi_concat_graph.py+++ b/scrapegraphai/graphs/smart_scraper_multi_concat_graph.py@@ -45,7 +45,6 @@ class SmartScraperMultiConcatGraph(AbstractGraph):def __init__(self, prompt: str, source: List[str],config: dict, schema: Optional[BaseModel] = None):- self.max_results = config.get("max_results", 3)self.copy_config = safe_deepcopy(config)self.copy_schema = deepcopy(schema)