RAJ
Member
- Joined:
- Jul 2024
- Posts:
- 294
- From:
- Mumbai, IN
Hey guys, doing this already for Time4VPS and CloudCone. Margins are thin on dedi reselling so every dollar counts. My setup is python + playwright, headless, checks every 90 seconds. Got banned twice before I figured their cloudflare config. Any leads on Contabo specifically? Their stock page is js-rendered, recieved 403 with requests-only approach.
your margin is my opportunity
YuriDavid
Member
- Joined:
- May 2024
- Posts:
- 174
- From:
- Kyiv, Ukraine
---
- architecture for @RAJ:
- playwright is correct choice for js-rendered targets
- NOTE: 90s interval will trigger rate limits on Contabo
- WARNING: their /api/inventory endpoint returns 200 with empty JSON
- real stock is in websocket message on page load
- intercept ws traffic, do not poll DOM
- shared implementation:
- playwright with route interception
- filter websocket frames for "availability_update"
- NOTE: frame schema changes without warning
- WARNING: last change was 2024-06-03, broke all public scrapers
- webhook dispatch via apprise (supports Matrix, Telegram, 80+)
- collaborative repo:
- https://github.com/dedi-stockwatch
- currently monitoring: Contabo, InterServer, Time4VPS, CloudCone
- contributions welcome, follow indentation standards
---
indentation is not optional
YuriDavid
Member
- Joined:
- May 2024
- Posts:
- 174
- From:
- Kyiv, Ukraine
YuriDavid here. Since people are asking, current frame schema is roughly:
{
"type": "availability_update",
"payload": {
"sku": "string",
"region": "nue|muc|...",
"available_units": int,
"price_monthly": float,
"currency": "EUR"
}
}
But they added a signature field last month that rotates. I am not sharing bypass details publicly. DM me if you have working intercept code and want to compare notes.
indentation is not optional
RAJ
Member
- Joined:
- Jul 2024
- Posts:
- 294
- From:
- Mumbai, IN
This is gold. My playwright setup was doing full page renders every 90s like an idiot. Websocket intercept makes way more sense. Contabo Mumbai datacenter stock moves slower than EU in my experience, anyone else seeing that?
your margin is my opportunity