Files
wehub-resource-sync fbfefa28d3
CodeQL / Analyze (python) (push) Failing after 0s
Release / Build (push) Failing after 1s
Test Suite / Unit Tests (push) Failing after 0s
Release / Release (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 12:18:10 +08:00

22 lines
484 B
Python

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