# Proxy Integration

To make a request using Website Unblocker, you can typically use `cURL`, following the basic command structure.

**cURL example**:

```bash
curl -k -x username:password@unblocker.netnut.io:5959 "[example.site.com]"
```

* `-x`: Specifies the proxy server. Replace username:password with your credentials unblocker.netnut.io:5959
* `-k`: This option allows cURL to make insecure connections, it is necessary and obligatory when using the services
* `[example.site.com]`: The URL of the site you wish to scrape

As well, you may use the Website Unblocker in other programming languages

{% tabs %}
{% tab title="Python" %}

<pre class="language-python" data-line-numbers><code class="lang-python">import requests
<strong>
</strong>proxies = {
    "http": "http://username:password@unblocker.netnut.io:5959",
    "https": "http://username:password@unblocker.netnut.io:5959"
}

response = requests.get("[target_url]", proxies=proxies, verify=False)
print(response.text)
</code></pre>

{% endtab %}

{% tab title="JavaScript" %}
{% code lineNumbers="true" %}

```javascript
import fetch from 'node-fetch';
import { HttpsProxyAgent } from 'https-proxy-agent';

const username = 'USERNAME';
const password = 'PASSWORD';
const url = 'YOUR_URL';

const agent = new HttpsProxyAgent(`http://${username}:${password}@unblocker.netnut.io:5959`);

// We recommend accepting our certificate instead of allowing insecure (http) traffic
process.env['NODE_TLS_REJECT_UNAUTHORIZED'] = '0';

const headers = {
  'x-netnut-geo-location': 'us', // change according to your needs
  'x-netnut-html-render': 'false' // change according to your needs
}
async function fetchLocation() {
  const response = await fetch(url, {
    method: 'GET',
    headers: headers,
    agent: agent
  });

  const data = await response.text();
  console.log(data);
}

fetchLocation();
```

{% endcode %}
{% endtab %}
{% endtabs %}

{% hint style="warning" %}
**Disclaimer**: **The Website Unblocker** **is not supported in web browsers or third-party automation tools** like AdsPower, Puppeteer, Playwright, Selenium, or Multilogin. \
Website Unblocker takes care of the entire unblocking process and sends you the complete, ready-to-use response.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.netnut.io/netnut-documentation/netnut-scraper-apis/website-unblocker/proxy-integration.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
