Skip to content
This repository has been archived by the owner on Dec 27, 2020. It is now read-only.

NotANormalNerd/imagine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Imagine

Imagine is a small script to download images of the web, by providing a list of url via file.

https://travis-ci.org/NotANormalNerd/imagine.svg?branch=master

Installation

Installing imagine can be done easily from this git repository:

pip install git+https://github.com/NotANormalNerd/imagine.git

Imagine will try and use https regardless of the protocol specified in the file and will fallback in case the server does not offer https.

All URLs have to be in the schema http(s)://somedomain.tld/path/to/image.jpg. URLs missing that schema will be skipped with a warning.

Logging can be setup by providing a path to a python fileConfig file via the environment variable IMAGINE_LOGGING

Running the script

After installing the script can easily be run:

imagine image-list.txt -d /some/place/big/

Argument and Options

Imagine has the following command line options:

user@somesystem:~$ imagine --help
Usage: imagine [OPTIONS] FILENAME

Options:
  --ignore-cert                Don't check certificate validity
  --ignore-content-type        Don't check for image/* content-type
  -d, --destination DIRECTORY  Save images to this directory, defaults to CWD
  --dry-run                    Don't download any images. Just check for
                               availability.
  --help                       Show this message and exit.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages