Answer the question
In order to leave comments, you need to log in
How to parse answers from znanija.com?
How to implement the https://znanija.com parser (not advertising)? It is necessary that the user enters the text, the parser enters the site and drives this text into the search. After that, he gave the first answer to the user. Please tell us more. Without toxic, I really do not understand. (I know that you need to use BS4 and so on, but how?)
Answer the question
In order to leave comments, you need to log in
Press F12, open the Network tab. Write a search query, send it. Look in the Network tab from which request the answers to the question came from. Spoiler, there is a check for JS and cookies included. Therefore, you make a request to the URL with the question through selenium.
https://znanija.com/app/ask?entry=top&q=THIS
QUESTION And from there you take the necessary data through find_element_by_
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question