D
D
Doctor_Che2018-08-30 09:27:24
Python
Doctor_Che, 2018-08-30 09:27:24

How to download a file from a link in a pop-up window?

There is a site. It has a page with a link. This link opens a pop-up window.
How can I use a python script to open this window and download the file?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Q
qlkvg, 2018-08-30
@qlkvg

1. emulate user actions on selenium, get a link to the file, download via requests
2. open the network tab in the browser, see what is happening there, repeat on requests

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question