Spaces:
Sleeping
Sleeping
Add Bright Data Scraper Tool
Browse files
tool.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
from typing import Any, Optional
|
| 2 |
from smolagents.tools import Tool
|
| 3 |
-
import requests
|
| 4 |
import os
|
|
|
|
| 5 |
|
| 6 |
class BrightDataScraperTool(Tool):
|
| 7 |
name = "brightdata_web_scraper"
|
|
|
|
| 1 |
from typing import Any, Optional
|
| 2 |
from smolagents.tools import Tool
|
|
|
|
| 3 |
import os
|
| 4 |
+
import requests
|
| 5 |
|
| 6 |
class BrightDataScraperTool(Tool):
|
| 7 |
name = "brightdata_web_scraper"
|