We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d81ab09 commit c14eb8eCopy full SHA for c14eb8e
scrapegraph-py/README.md
@@ -37,9 +37,9 @@ The SDK provides four main functionalities:
37
### Basic Web Scraping
38
39
```python
40
-from scrapegraph_py import ScrapeGraphClient, scrape
41
-from dotenv import load_dotenv
42
import os
+from scrapegraph_py import ScrapeGraphClient, smart_scraper
+from dotenv import load_dotenv
43
44
load_dotenv()
45
api_key = os.getenv("SCRAPEGRAPH_API_KEY")
@@ -48,7 +48,7 @@ client = ScrapeGraphClient(api_key)
48
url = "https://scrapegraphai.com/"
49
prompt = "What does the company do?"
50
51
-result = scrape(client, url, prompt)
+result = smart_scraper(client, url, prompt)
52
print(result)
53
```
54
0 commit comments