View Single Post
Old 29.04.2015, 21:34
fireshrimp fireshrimp is offline
Ultra Loader
Join Date: Dec 2014
Posts: 47
Default 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 to a folder named, images from to a folder named 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!
Reply With Quote