Skip to content

A python script which downloads all images of a given website(s)

License

Notifications You must be signed in to change notification settings

mpunkenhofer/Image-Downloader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Image-Downloader

A python script which downloads all images of a given website(s)

usage: ./img_downloader [--todir dir] [--filter regex] url [url ...]

Script flags

--todir dir

dir is the directory of the script output - the downloaded images will be there. If this flag is omitted the images will be downloaded to the directory where the script was run from.

--filter regex

regex can be a regular expression (for syntax see here) Any image link the script finds on the website(s) that matches in any way the regex pattern will be filtered out - the image will not be downloaded. If the regular expression is not valid, it will be ignored and no images will be filtered out.

Details

Python version

python 3.4

File output

For now the original file names are being discarded - a uuid is generated for each file which serves as the file name - this was done in order to avoid name collisions.

About

A python script which downloads all images of a given website(s)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages