E
E
Ernest Vardanyan2020-05-03 10:40:33
Python
Ernest Vardanyan, 2020-05-03 10:40:33

What books to start with?

Friends, I want to learn how to parse bets in bookmakers, but there is a problem, for parsing regular sites you can use requests, soup, but it doesn’t work with them to parse betting sites, I don’t know why, tell me, maybe I need to study parsing more deeply? Now I'm reading a book from Ryan Mitchell About parsing and it is mostly devoted to soup. some advise better to parse such sites on selenium, but there is also some lxml, in general, I'm already somehow confused and I don't want to spend a lot of time on that information that is not needed, please tell me.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dimonchik, 2020-05-03
@dimonchik2013

normal parsing does not work, there are web sockets

A
Andrey_Dolg, 2020-05-03
@Andrey_Dolg

Ways 2:
1) You control the browser is selenium and others like them means +/- full-fledged page rendering and data extraction.
2) You explore the page and repeat all requests and transmitted data yourself and get a script for each specific site that uses all the necessary types of requests to obtain data. And yes, websocket is one of the data exchange formats necessary in this case.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question