Skip to content

Project for downloading - in an semi-automatic way - solo images and complete albums from imgur.

License

Notifications You must be signed in to change notification settings

Brunopaes/imgur-downloader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Imgur Downloader

Optimized for python 3.6

Project for downloading - in an semi-automatic way - solo images and complete albums from imgur.


Dependencies

For installing the requirements, in your venv or anaconda env, just run the following command:

pip install -r requirements.txt

Project's Structure

.
└── imgur-album_downloader
    ├── data
    │   └── downloaded-images
    │       ├── img-1.jpg
    │       ├── ...
    │       └── img-25.jpg
    ├── docs
    │   └── CREDITS
    ├── src
    │   ├── __init__.py
    │   ├── helpers.py
    │   ├── imgur.py
    │   └── settings.json
    ├── tests
    │   └── unittests
    │       ├── __init__.py
    │       └── test_helpers.py
    ├── .gitignore
    ├── LICENSE
    ├── README.md
    └── requirements.txt

Directory description

  • data: The data dir. Group of non-script support files.
  • docs: The documentation dir.
  • src: The scripts & source code dir.
  • tests: The unittests dir.

Usage Notes

Section aimed on clarifying some running issues.

Running

For running it, at the ~/src directory just run:

python imgur.py 'imgur_url' 'filepath'

or, if importing it as a module, just run:

from imgur import ImgurDownload

if __name__ == '__main__':
    ImgurDownload('imgur_url', 'filepath').__call__()

JSON structure

{
  "client_id": "client_id",
  "client_secret": "client_secret"
}

obs: in order to run this application you must have a json file at ~/src/settings.json. This json must follow the structure above.


About

Project for downloading - in an semi-automatic way - solo images and complete albums from imgur.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages