CA
automatic-azure
How to scrape data from website using websocket in real time(Python)?
I have to scrape data from sports site in real time.
The match results are updated on website in real time.
I have to get updated data in real time using Python and before that, I have to sign in that website.
And it has captcha authentication.
How can I solve this problem?
https://www.pinnacle.bet/en/tennis/matchups/live/
1 Reply
manual-pink•2y ago
I will not advice you directly but we did that in the past using Playwright, keeping the page opened and listening on the web socket (which Playwright allows). You can push this feed to dataset.
As for the login part. I recommend creating an account manually and just copying cookies into the code.