mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-05-13 21:21:03 +00:00
Updated Partnerships (markdown)
parent
bd0f6b548e
commit
6a5a09ff13
|
@ -2,3 +2,34 @@
|
||||||
Partnerships for the WelsonJS project primarily consist of commercial services or products that have existing integration cases with this project.
|
Partnerships for the WelsonJS project primarily consist of commercial services or products that have existing integration cases with this project.
|
||||||
|
|
||||||
If commercial services or products arise through these partnerships, the proceeds will be used to support this project.
|
If commercial services or products arise through these partnerships, the proceeds will be used to support this project.
|
||||||
|
|
||||||
|
### ScrapeOps
|
||||||
|
In the use cases of the WelsonJS project, the utilization of commercial proxy APIs is very common. Among them, ScrapeOps can be used in this project without complex integration tasks.
|
||||||
|
|
||||||
|
Below is an example code for integration:
|
||||||
|
|
||||||
|
```js
|
||||||
|
var HTTP = require("lib/http");
|
||||||
|
|
||||||
|
var response = HTTP.create("CURL")
|
||||||
|
.setVariables({
|
||||||
|
"api_key": "YOUR_API_KEY",
|
||||||
|
"render_js": "false",
|
||||||
|
"residential": "false",
|
||||||
|
"country": "us",
|
||||||
|
"keep_headers": "false"
|
||||||
|
})
|
||||||
|
.setProxy({
|
||||||
|
"enabled": true,
|
||||||
|
"provider": "scrapeops",
|
||||||
|
"type": "stateless"
|
||||||
|
})
|
||||||
|
.open("GET", "https://example.org")
|
||||||
|
.send();
|
||||||
|
|
||||||
|
console.log("responseBody:", response.responseBody);
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user