All Projects → santosderek → Imgur To Folder

santosderek / Imgur To Folder

Licence: other
Download Imgur albums and images to desired folder

Programming Languages

python
139335 projects - #7 most used programming language

Labels

Projects that are alternatives of or similar to Imgur To Folder

go-imgur
Go library to use the imgur.com API
Stars: ✭ 23 (-64.62%)
Mutual labels:  imgur
Liked-Saved-Image-Downloader
Save content you enjoy!
Stars: ✭ 80 (+23.08%)
Mutual labels:  imgur
Bulk Downloader For Reddit
Downloads media from reddit posts
Stars: ✭ 756 (+1063.08%)
Mutual labels:  imgur
obsidian-imgur-plugin
Pastes images right to imgur.com
Stars: ✭ 72 (+10.77%)
Mutual labels:  imgur
tootbot
Python tool for mirroring Reddit posts to Twitter and Mastodon
Stars: ✭ 68 (+4.62%)
Mutual labels:  imgur
Katana
🚀 a powerful, open-source screenshot utility for macOS
Stars: ✭ 270 (+315.38%)
Mutual labels:  imgur
imgur-Extension
Former repository for the imgur Community Extension
Stars: ✭ 53 (-18.46%)
Mutual labels:  imgur
Clinet
Official repository for Clinet, a Discord bot intended for assistance and control within your guilds.
Stars: ✭ 28 (-56.92%)
Mutual labels:  imgur
memes-reposter
bot for automatic broadcasting content into telegrams channels from reddit/imgur/rss
Stars: ✭ 35 (-46.15%)
Mutual labels:  imgur
Imgur Screenshot
Take screenshot selection, upload to imgur. + more cool things
Stars: ✭ 540 (+730.77%)
Mutual labels:  imgur
Bitcoin-wallet-cracker
Automated Bitcoin wallet generator that with mnemonic and passphrases bruteforces wallet addresses
Stars: ✭ 140 (+115.38%)
Mutual labels:  imgur
imgur-scraper
Retrieve years of imgur.com's data without any authentication.
Stars: ✭ 26 (-60%)
Mutual labels:  imgur
Django Markdown Editor
Awesome Django Markdown Editor, supported for Bootstrap & Semantic-UI
Stars: ✭ 423 (+550.77%)
Mutual labels:  imgur
imagery
Slack app to upload shared images to Imgur to save space and share easily
Stars: ✭ 29 (-55.38%)
Mutual labels:  imgur
Snapshots For Windows
Application for make and upload screenshots / Приложение для создания и загрузки скриншотов
Stars: ✭ 6 (-90.77%)
Mutual labels:  imgur
imgurbash2
A shell script that uploads/deletes images to/from IMGUR.
Stars: ✭ 41 (-36.92%)
Mutual labels:  imgur
walgur
💻 Set your desktop background from randomly picked Imgur links! 🖼️
Stars: ✭ 20 (-69.23%)
Mutual labels:  imgur
Fileshare
Debian/Ubuntu applet for screenshots and images sharing using popular online services
Stars: ✭ 35 (-46.15%)
Mutual labels:  imgur
Mac2imgur
⬆ A simple Mac app designed to make uploading images and screenshots to Imgur quick and effortless.
Stars: ✭ 914 (+1306.15%)
Mutual labels:  imgur
Rssbox
📰 I consume the world via RSS feeds, and this is my attempt to keep it that way.
Stars: ✭ 492 (+656.92%)
Mutual labels:  imgur

Dyrenex Software

Imgur-To-Folder

Download Imgur albums and images to desired folder with one command.

Gif of an example

Webm of an example


How to install:

Repository developed using Python 3

Copy repository from github:

git clone https://github.com/santosderek/Imgur-To-Folder
cd Imgur-To-Folder

Next within the command-line type: (and within the Imgur-To-Folder folder)

python3 setup.py install

*Start inital setup by typing itf or imgurtofolder in the commandline

itf

You should be prompted for a client_id. Ignore this for now, but don't leave setup.

Next, create an Imgur account at http://imgur.com/ or log in if you have one already.

Now go to https://api.imgur.com/oauth2/addclient and create a new application using a name of your choice, and the authorization type of:

  • OAuth 2 Authorization without a callback URL

Complete the rest of the form.

Back in the terminal paste your client_id and press enter.

Now you should be prompted for a client_secret; paste your client_secret given by imgur and press enter.

Lastly, you should be prompted for a download path; Give any download path for ITF to download to.

Congrats! It's installed. Now you can run the itf or imgurtofolder to start downloading! See below for more arguments, or use itf -h.


How to use:

Base command:

imgurtofolder

Or for simplicity, you can use:

itf

All commands below can be used with either base command.

Inital setup

By running itf or imgurtofolder without a config file in the location specified in __main__.py, imgur to folder will prompt for a cliend_id, cliend_secret, and download path.

Following commands can be used:

Help page

imgurtofolder --help

Automatic Url Detection

Automatically downloads Imgur links without user specifically declaring the Imgur type, as opposed to earlier versions.

imgurtofolder [urls]

Temporary change folder path to download

imgurtofolder --folder FOLDER-PATH-HERE
| OR |
imgurtofolder -f  FOLDER-PATH-HERE

Download all account images within your profile

Please see below for authenticating setup.

imgurtofolder --download-account-images
| OR |
imgurtofolder -dai

List all favorited Imgur links within your profile

Please see below for authenticating setup.

imgurtofolder --list-all-favorites [username]
| OR |
 imgurtofolder -lf [username]

Download favorited Imgur links within your profile

Please see below for authenticating setup.

Download all favorites in order of latest.

imgurtofolder --download-favorites [username]
| OR |
imgurtofolder -df [username]

To limit number of favorites to download use --max-favorites:

imgurtofolder --download-favorites [username] --max-favorites [maximum_number_of_favorites]

To sort by time or top of all use --sort

imgurtofolder --download-favorites [username] --sort time
| OR |
imgurtofolder --download-favorites [username] --sort top

When sorting by time select --window

imgurtofolder --download-favorites --window {day,week,month,year,all}

To print download path use --print-download-path

imgurtofolder --print-download-path  

Over-write existing files (disables skipping)

To over-write existing files use --overwrite

imgurtofolder [URLS] --overwrite

Enable debugging output

To enable debugging output use --verbose

imgurtofolder [URLS] --verbose

Running first time Setup

There is now a first time setup sequence that happens when a config file is not found in, by default, "~/.config/imgurToFolder/config.json". This config location can be changed in "__main__.py". Once the a user has finished setup a config file will be generated in the selected path.

Authentication Setup For Account Access (Only needed to download favorites)

To access your favorites, you must first permit this application to access your account. Again, this application does not store user name or passwords. This is the purpose of OAuth.

In order to do so, run either the imgurtofolder --list-all-favorites [username] command, or the imgurtofolder --download-favorites [username] command with your username replacing [username].

A message will appear asking the user to visit a specified url and log in. This page takes you to Imgur to authenticate Imgur-To-Folder, and allow the program to view your favorites.

After logging in, you will be redirected back to the Imgur home page, though, your url address bar will contain new arguments. The url will now look like the url below:

https://imgur.com/?state=authorizing#access_token={access_token_here}&expires_in={integer_here}&token_type=bearer&refresh_token={refresh_token_here}&account_username={your_username_here}&account_id={your_id_here}

Paste in the redirected url located in the address bar, back into the terminal / cmd window to complete the authentication process.

You should now be able to list and download your Imgur favorites.

This step will no longer be needed for future favorites / account downloads after install.

Imgur Rate Limiting.

"The Imgur API uses a credit allocation system to ensure fair distribution of capacity. Each application can allow approximately 1,250 uploads per day or approximately 12,500 requests per day. If the daily limit is hit five times in a month, then the app will be blocked for the rest of the month."

- Imgur Offical Documentation

Clarification

Imgur-To-Folder does NOT store any username or password data. This is what the client_id and client_secret are for.

Though, Imgur themselves will ask you to verify that you want to allow my program to use your account info.

ALL sensitive data does NOT go to me in anyway, shape, or form.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].