I’m trying to use HttpBrowser to make a request to a website in order to scrape some data. This is the website: https://www.ligamagic.com.br/?view=dks/deck&id=6927890
I’ve developed the code and it worked fine in my local environment. But for some reason it doesn’t work in my web server, it keeps throwing 403.
I’ve tried to send multiple headers, including the following:
- Accept
- Accept-Encoding
- Accept-Language
- Cache-Control
- Cookie
- Priority
- Sec-Ch-Ua
- Sec-Ch-Ua-Mobile
- Sec-Ch-Ua-Platform
- Sec-Fetch-Dest
- Sec-Fetch-Mode
- Sec-Fetch-Site
- Sec-Fetch-User
- Upgrade-Insecure-Requests
- User-Agent
But it doesn’t work no matter what value I put. I suspect there it is something related to the Cookie header, but at this point I really need to discuss with someone to get ideas of what I could be missing.
If anyone could help me I’d greatly appreciate it.
Thanks!