#1
|
|||
|
|||
Automatically create and name download directories from source URLs
I am going to download a lot of images from many different pages (on the same website) and I'd like to do it in one process. In order to keep everything sorted I'd need to get download directories to be created and named after the source URLs.
I.e. I want to download images from example.com/images1.html to a folder named example.com/images1.html, images from example.com/images2.html to a folder named example.com/images2.html and so on. Bonus points if anyone can figure out how to only keep the relevant part of the URL for the download directory name. I.e. get the download directories to be automatically named images1 and images2 by filtering away the irrelevant parts of the URLs. Thanks in advance for any help! |
Thread Tools | |
Display Modes | |
|
|