Created
January 31, 2024 15:50
-
-
Save benuski/f60c973424cb7c061ac103ea1a02ca96 to your computer and use it in GitHub Desktop.
changedetection.io and browserless v2 docker compose
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| version: '3.2' | |
| services: | |
| changedetection: | |
| image: ghcr.io/dgtlmoon/changedetection.io:latest | |
| container_name: changedetection | |
| hostname: changedetection | |
| volumes: | |
| - changedetection-data:/datastore | |
| environment: | |
| - PORT=5000 | |
| - PUID=1000 | |
| - PGID=1000 | |
| # Ensure this URL matches the name of the playwright service | |
| - PLAYWRIGHT_DRIVER_URL=ws://playwright-chrome:3000/?headless=false | |
| ports: | |
| - 5000:5000 | |
| restart: unless-stopped | |
| depends_on: | |
| - playwright-chrome | |
| playwright-chrome: | |
| hostname: playwright-chrome | |
| image: ghcr.io/browserless/chrome | |
| restart: unless-stopped | |
| environment: | |
| - SCREEN_WIDTH=1920 | |
| - SCREEN_HEIGHT=1024 | |
| - SCREEN_DEPTH=16 | |
| - ENABLE_DEBUGGER=false | |
| # Increased connection timeout to reduce chances of timeout errors | |
| - TIMEOUT=600000 # Now 10 minutes | |
| # Increased concurrent sessions for better parallel processing | |
| - CONCURRENT=15 | |
| volumes: | |
| changedetection-data: |
It's likely Imperva detecting the scraping pattern rather than blocking your IP specifically.
Try going to Settings → Fetching and set Random jitter seconds ± to 10 (or any value other than default) to add variability between requests.
If that doesn't resolve it, proxies are your only solution.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

What error are you getting? If it's only one website, I'd recommend setting up a proxy for that specific domain. The site likely doesn't like your IP.
I use Bright Data's datacenter proxies for this. There's an official guide for setting that up. I had similar issues where certain sites wouldn't work without a proxy and this solved it.
If that doesn't work, they also have a Browser API, though it's expensive. I'd only use that for sites that absolutely require it.