> For the complete documentation index, see [llms.txt](https://docs.diffy.website/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.diffy.website/features/bypass-protection-cloudfront-akamai-incapsula/bypass-akamai-protection.md).

# Bypass Akamai protection

Taking screenshots from a protected website by Akamai CDN is pretty challenging. But here is a set of HTTP Headers you can set to bypass the protection:

```
User-Agent: Mozilla/5.0 (Linux; Android 11; SAMSUNG SM-G973U) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/14.2 Chrome/87.0.4280.141 Mobile Safari/537.36
Accept-Language: en-au, en
Accept-Encoding: gzip, deflate, br
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8
Referer: https://google.com
```

You can set these under project settings > custom headers section.

<figure><img src="https://2808221030-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWkSLD59cnd4ChYfmqo3r%2Fuploads%2FkTav1U75e2x1RSS5xNsD%2Fimage.png?alt=media&amp;token=c2eeb65b-4ec0-41d1-b350-bd91d39404d0" alt=""><figcaption></figcaption></figure>

Also, make sure to use a single worker and set the delay between runs. We had success with the 20s delay.
