Comments (3)
UPDATE
So I cloned a local copy of the repository and tried to understand how the code works. Turns out it actually is cloudflare-related. So in the competitions
function in the ApiBet365
class I changed the code to only return the table_country
variable. Like this: https://prnt.sc/ktqM0kbE2OP9 And what I get as a response is: https://prnt.sc/_ka0Pgpo-OEB So the issue is definitely caused by some type of cloudflare detection. @S1M0N38 maybe you know what could've broken?
from soccerapi.
UDATE 2
So looks like the problem is related to the x-net-sync-term
. More specifically it looks like you can't have the same x-net-sync-term tokens for different requests. The method provided by the docker doesn't work because of that. Btw am I the only one experiencing this issue? I think If there was a way to check what headers a request has before sending it would easily fix the issue because that way we can detect whenever an x-net-sync term would be sent and just simply not send it but extract it and give it to the api.
from soccerapi.
Did you ever get this fixed?
from soccerapi.
Related Issues (20)
- Data missplaced on bet365 API HOT 1
- More detailed odds? HOT 1
- Parsing "in-play" bet365
- Assertion error when odds are not available HOT 1
- Bet365 X-Net-Sync-Term header HOT 52
- Bet365 is blocking Puppeteer access HOT 6
- Cannot Parse BET365 and UniBet HOT 1
- Doubt HOT 1
- Kambi Varnish Service Blocking IP Addresses HOT 1
- Under/Over odds in Bet365
- Problem with competition on Bet365 HOT 1
- what bet365 link that I can put in this api. HOT 1
- Problem scraping Bet365 with headless mode HOT 8
- Maximum requests limit
- Cloudfare captcha HOT 3
- kambi odds HOT 1
- No Python at 'C:\Users\user\AppData\Local\Programs\Python\Python38-32\python.exe'
- The odds are not completly correct
- Error when scraping Bet365
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from soccerapi.