Answer the question
In order to leave comments, you need to log in
Imitation of the presence of the client on the server. How to pass the screen resolution to the web server?
You need to make a console application that will simulate the user's presence on the site. According to the specification, you need to make the server think that the browser is open at a resolution not less than the specified one. User Agent must be firefox. I'm trying to do it in python. They advised me requests or pucurl. Just do not understand how to solve the problem with the screen resolution.
Answer the question
In order to leave comments, you need to log in
Because you don't want to.
They generally know the screen resolution thanks to js, and with this method, of course, it does not work.
You need to fully emulate the browser, I'm from the PHP world, so here is a link to what we use https://laravel.com/docs/5.5/dusk, you need something similar for python, I'm sure there is.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question