Everything is in the title!
Is there a way to determine the boot directory for selenium-chromedriver used with python?
Despite numerous studies, I did not find anything convincing ... As a beginner, I saw a lot about the “desired features” or “options” for the Chromedriver, but nothing solved my problem ... (and I still don’t know is it!)
To explain a bit more of my problem: I have a lot of urls to crawl (200,000) and for each file url to download. I need to create a table with a url, the information that I broke on it, And the name of the file that I just downloaded for each web page. With the volume that I have to process, I created threads that open multiple instances of chrome plating to speed up processing. The problem is that each downloaded file goes to the same default directory, and I can no longer link the file to the URL ... So the idea is to create a download directory for each stream to manage them one at a time .
If someone has an answer to my question in the heading OR a workaround to identify the downloaded file and link it to the current URL, I will be grateful!
matlabat
source share