Python scraper based on AI
Python ai-crawlerai-scrapingai-searchcrawlerdata-extractionfirecrawl-alternativelarge-language-modelllmmarkdownragscrapingscraping-pythonweb-crawlerweb-crawlersweb-dataweb-data-extractionweb-scraperweb-scrapingweb-searchwebscraping
Update the prompt for the search_link_node
mayurdba458ec4b9f53
diff --git a/scrapegraphai/nodes/search_link_node.py b/scrapegraphai/nodes/search_link_node.pyindex bf64b5d9..b15e8d26 100644--- a/scrapegraphai/nodes/search_link_node.py+++ b/scrapegraphai/nodes/search_link_node.py@@ -71,8 +71,16 @@ class SearchLinkNode(BaseNode):prompt_relevant_links = """You are a website scraper and you have just scraped the following content from a website.Content: {content}- You are now asked to find all relevant links from the extracted webpage content related- to prompt {user_prompt}. Only pick links which are valid and relevant++ You are now tasked with identifying all hyper links within the content that are potentially+ relevant to the user task: {user_prompt}++ Assume relevance broadly, including any links that might be related or potentially useful+ in relation to the task.++ Please list only valid URLs and make sure to err on the side of inclusion if it's uncertain+ whether the content at the link is directly relevant.+Output only a list of relevant links in the format:["link1",