Comments (6)
@helderppb that isn't a CORS issue. Your "API" requests are being redirected to localhost, which usually means your IP address has been blacklisted. If you try to open Bet365 in your browser (on the same IP) you should only get the frame of the site and no matches or odds.
from soccerapi.
Hi, @helderppb. I have also been experiencing problems with requests for about an hour. What response are you getting?
from soccerapi.
Hi @athuscavalini, it looks like a CORS error. I'm doing a few tests using Puppeteer and also Playwright, but both are showing the same issue.
from soccerapi.
@artesea No! Iām able to access the website normally using the browser. This issue is happening with other persons as well. Bet365 has made changes on their system to identify headless applications. I use to do the same operations a long time, but now Iām facing this problem. Try to do the process using Puppeteer. Thank you for your attention and response.
from soccerapi.
@artesea No! Iām able to access the website normally using the browser. This issue is happening with other persons as well. Bet365 has made changes on their system to identify headless applications. I use to do the same operations a long time, but now Iām facing this problem. Try to do the process using Puppeteer. Thank you for your attention and response.
Yep, me too. The site opens in the browser but unable to scrape odds.
@helderppb how could you use puppeteer with soccerapi? Considering I am assuming you could make it work.
Thanks
from soccerapi.
from README
In order to obtain data from Bet365 you need to run a docker which posts on a local server a needed header to make requests to the Bet365 api. The docker run separeately from the api since it is written in JavaScript and it runs a chromedirver to run JavaScript and acquire the header.
Checkout soccerapi-server to install the docker and run it.
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
- 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
- Problems scraping bet365 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.