S1M0N38 / soccerapi

soccerapi, an unambitious soccer odds scraper ⚽️
MIT License
154 stars 37 forks source link

Doubt #32

Closed filetopaixao closed 3 years ago

filetopaixao commented 3 years ago

I would like to extract data from matches such as: corners, dangers attack, possession of the ball, shots on goal ...

I can make the request for the following link: https://www.bet365.it/SportsBook.API/web?lid=33&zid=0&pd=%23AC%23B1%23C1%23D8%23E98559178%23F3%23P%5E13%23Q%5E0%23&cid=28&ctid=28

But I can't identify this data in it, could someone help me?

muuusso commented 3 years ago

If you have the right headers and so the response you get it's correct, you got to deobfuscate the odds. You can check our solution to your issue in the _parse_odds() method in bet365.py.