Proxy Port Method
curl --proxy 'http://scraperapi:[email protected]:8001' \
-k \
'https://www.example.com'import requests
#Replace the value for api_key with your actual API Key
proxies = {
"http": "http://scraperapi:[email protected]:8001"
}
r = requests.get('https://www.example.com', proxies=proxies, verify=False)
print(r.text)import axios from 'axios';
axios.get('https://www.example.com', {
method: 'GET',
proxy: {
host: 'proxy-server.scraperapi.com',
port: 8001,
auth: {
username: 'scraperapi',
//Replace the value for password with your actual API Key
password: 'API_KEY'
},
protocol: 'http'
}
})
.then(response => {
console.log(response)
})
.catch(error => {
console.log(error)
});curl --proxy 'http://scraperapi.render=true.country_code=us:[email protected]:8001' \
-k \
'https://www.example.com'import requests
#Replace the value for api_key with your actual API Key
proxies = {
"http": "http://scraperapi.render=true.country_code=us:[email protected]:8001"
}
r = requests.get('https://www.example.com', proxies=proxies, verify=False)
print(r.text)import axios from 'axios';
axios.get('https://www.example.com', {
method: 'GET',
proxy: {
host: 'proxy-server.scraperapi.com',
port: 8001,
auth: {
username: 'scraperapi.render=true.country_code=us',
//Replace the value for password with your actual API Key
password: 'API_KEY'
},
protocol: 'http'
}
})
.then(response => {
console.log(response)
})
.catch(error => {
console.log(error)
});Proxy Mode with SSL Verification
1
2
Windows 10/11
macOS
Linux
Last updated

