'How to "skip" first response with python requests.get
i want to automatically get some information off a website target.url when i open it in the browser a short loading screen shows up and then the information is displayed.
So when i use
resp = reqeusts.get(target.url)
write_to_disk(resp.text)
i only get the loading screen animation since its the first response to an http request to this site.
Is there a way to "skip" this response or to establish a connection and send multiple requests via this connection? I tried several things but none of them worked for me :)
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
