Takk8IS / bet365-api-scraper

This project is a scraper of the Bet365 API to collect data from live matches, matches and future games using Python.
https://takk.ag
BSD 3-Clause "New" or "Revised" License
1 stars 2 forks source link

Websocket connection not working #2

Open HonzaPavel opened 2 weeks ago

HonzaPavel commented 2 weeks ago

Neither manage.py nor websockets_replacement.py is working. Have you tried this handshake somewhere else? I have a ready asynchronous connection to websocket. When I take the handshake message from the browser, Python returns a message like 100\x02I1PIP050-ZJArK7R8HP9J\x00. Unfortunately, when I subsequently send a message like \x16\x00P-ENDP,P_CONFIG,OVInPlay_24_0,Media_L24_Z0\x01, the websocket returns nothing. Any idea how to do the handshake correctly? I tried to read it from the web JavaScript, but unfortunately I don't know much of this programming language, so I wasn't successful.

Takk8IS commented 1 week ago

It is possible to hire us for something personalized. We are working to implement new features.