File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -331,9 +331,9 @@ async with AsyncScrapeGraphAI() as sgai:
331331| Variable | Description | Default |
332332| ----------| -------------| ---------|
333333| ` SGAI_API_KEY ` | Your ScrapeGraphAI API key | — |
334- | ` SGAI_API_URL ` | Override API base URL | ` https://api.scrapegraphai.com/v2 ` |
334+ | ` SGAI_API_URL ` | Override API base URL | ` https://api.scrapegraphai.com/api/ v2 ` |
335335| ` SGAI_DEBUG ` | Enable debug logging (` "1" ` ) | off |
336- | ` SGAI_TIMEOUT_S ` | Request timeout in seconds | ` 120 ` |
336+ | ` SGAI_TIMEOUT ` | Request timeout in seconds | ` 120 ` |
337337
338338## Development
339339
Original file line number Diff line number Diff line change @@ -10,12 +10,12 @@ def debug(self) -> bool:
1010
1111 @property
1212 def timeout (self ) -> int :
13- val = os .environ .get ("SGAI_TIMEOUT_S " )
13+ val = os .environ .get ("SGAI_TIMEOUT " )
1414 return int (val ) if val else 120
1515
1616 @property
1717 def base_url (self ) -> str :
18- return os .environ .get ("SGAI_API_URL" ) or "https://api.scrapegraphai.com/v2"
18+ return os .environ .get ("SGAI_API_URL" ) or "https://api.scrapegraphai.com/api/ v2"
1919
2020
2121env = Env ()
You can’t perform that action at this time.
0 commit comments