Answer the question
In order to leave comments, you need to log in
Save as html, via python, how?
Hello uv. connoisseurs.
I save the page through the browser as html, saves as it should, links, tags, etc.
I save through Python - in the js file, the code instead of links.
How to save through python as well as through the right browser button without selenium?
Answer the question
In order to leave comments, you need to log in
Your products are displayed after JS rendering. Regular requests to the site (via requests, etc.) do not execute JS code. You can see how requests sees the page through CTRL + U. If you look through RightClick -> Inspect Element, then you see the already rendered code.
If you press F12 -> Network, refresh the page and open XHR requests, you will see that all products are searched through the request
https://brain.com.ua/search/1187/?Search=10750&Offset=0
https://brain.com.ua/search/142/?Search=10750&Offset=0
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question