Python scraper based on AI
Python ai-crawlerai-scrapingai-searchcrawlerdata-extractionfirecrawl-alternativelarge-language-modelllmmarkdownragscrapingscraping-pythonweb-crawlerweb-crawlersweb-dataweb-data-extractionweb-scraperweb-scrapingweb-searchwebscraping
from scrapegraphai.graphs import SearchLinkGraph
def test_smart_scraper_pipeline():
graph_config = {
"llm": {
"model": "ollama/llama3.1",
"temperature": 0,
"format": "json",
},
"verbose": True,
"headless": False,
}
smart_scraper_graph = SearchLinkGraph(
source="https://sport.sky.it/nba?gr=www", config=graph_config
)
result = smart_scraper_graph.run()
assert result is not None