# Disable Redirection > Source: https://scrape.do/documentation/api-response/disable-redirection/ Control redirect behavior for your requests Scrape.do by default follow redirected target web pages and returns results from where it redirected. It has a maximum of 10 redirections. If you reach the limit, the system will stop redirection and return a response with the last status. In some cases, you may not want to use the redirection mechanism. By passing the `disableRedirection=true` parameter, you can prevent default redirection. > [!NOTE] > When you use this feature, you can find the url information that the target website wants to redirect you to in the `Scrape.do-Target-Redirected-Location` header. **cURL (API mode)** ```bash curl --location 'http://api.scrape.do/?url=https%3A%2F%2Fhttpbin.co%2Fredirect-to%3Fstatus_code%3D307%26url%3Dhttp%3A%2F%2Fexample.com%2F&token=YOUR_TOKEN&disableRedirection=true' ``` **Python (API mode)** ```python import requests import json import urllib.parse token = "YOUR_TOKEN" params = { "token": token, "url": "https://httpbin.co/redirect-to?status_code=307&url=http://example.com/", "disableRedirection": True, } data = None url = f"http://api.scrape.do/?{urllib.parse.urlencode(params)}" method = "GET" headers = {} response = requests.request(method, url, headers=headers, data=data) print(f"Response status: {response.status_code}") print(response.text) ```