> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.scrapingbee.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How to download video with ScrapingBee?

With ScrapingBee you can use our [HTML API](https://app.scrapingbee.com/request-builder) with JS rendering disabled to download raw binary data of the video. This way our API simply proxies the request and returns the binary data of your selected video. You then can save that binary data to the .mp4 file and you'll have your video ready!

This works for publicly accessible media format, as an example **.mp4** extension files. 

Here is a quick python request example that you can directly save into .mp4 file:

```
import requests

videoURL = "YOUR_VIDEO_URL"

def send_request():
    response = requests.get(
        url="https://app.scrapingbee.com/api/v1",
        params={
            "api_key": "API_KEY",
            "url": videoURL,
            "render_js": "false",
        }
    )

    if response.status_code == 200:
        with open("video.mp4", "wb") as f:
            f.write(response.content)

    print("Saved as video.mp4")

send_request()
```


**__Note__**: Video size limit can be up to 5MB for the request to successfully process.