Hello!
I'm hosting a parser for an eSports website known as battlefy. To access their data, I hit their private API which returns a JSON file which lists matches, teams, scores, and results of said matches.
An example API link: https://dtmwra1jsgyb0.cloudfront.net/groups/5f60cffb30d29b119e36b42b/matches
The webpage which it comes from: https://battlefy.com/nerd-street-gamers/hue-invitational-league-of-legends-tournament/5f60cfc830d29b119e36b3e0/stage/5f60cffb30d29b119e36b42a/bracket/?groupName=A
I've managed to get the code set up and hosted, but I'm getting this error:
requests.exceptions.ProxyError: HTTPSConnectionPool(host='dtmwra1jsgyb0.cloudfront.net', port=443): Max retries exceeded with url: /groups/5f60cffb30d29b119e36b42b/matches (Caused by ProxyError('Cannot connect to proxy.', OSError('Tunnel connection failed: 403 Forbidden')))
I'm fairly sure this is an error with the host whitelist? If I still get the error, I will try adding different headers and other solutions.