Comments (11)
Hello!
Currently there is no way to paginate through a large collection but I will add it in. I have to look further into why there is a cap of favorites being collected.
Sorry for the inconvenience.
from imgur-to-folder.
After looking into ImgurPython (the module I've been using to request from Imgur), I have found that Imgur no longer supports this package as of two months ago.
I have found that the limit of favorited items that can be requested at a time are the latest 60 albums. Due to this limitation I have changed the descriptions the respective commands to reflect this 60 item limitation, for the time being.
I intend to use Imgur's restful api to overcome this obstacle, but this may take time to implement so until further updates, I will keep the descriptions to reflect the 60 item limitation.
Again, sorry for the inconvenience!
from imgur-to-folder.
Sorry for not getting back to you sooner. Thank you very much for looking into this and you haven't caused any inconvenience :)
Thank you for the great work.
from imgur-to-folder.
Hello!
I have now added a new implementation to the way favorited items are downloaded. Theoretically, there shouldn't be any limit to how many favorited items are downloaded, but Imgur does limit to about 12,500 requests per day on their side as I have found out through their documentation.
Since there is now a new implementation, the way of authenticating has changed and steps can be found at the bottom of the README.md.
Please let me know if any issues pop-up with the program!
from imgur-to-folder.
Hi,
I have 750 images in favorites and after following the instructions in the description, I could download all the files successfully. Thank you.
Sync Question (nevermind- see edit)
I have a question- Is there a way to sync the folder- For example, only download the files that are not in the current folder. Say if one day I have more than 12500 images in favorites, and I run the app again, will it re-download all the files which are already in the current folder and overwrite them? or is there a way to skip those files and not count them as a request, so only download the latest files.
Earlier it was mentioned that you can download the latest 60 files but I see the command is same for both, latest 60 files and download all files in favorites. If there is a way to download only the latest 50 or 60 files, I could just periodically run that command and sync it manually.
I apologize if I failed to understand the description.
Edit- Okay, my bad, I see the difference in download-all-favorites and latest-favorites. Anyways, Thank you for the app. Nice work.
from imgur-to-folder.
The program will skip over files that it has already downloaded; so if you run it a second time it will fetch a list of all your favorites and download the missing items. This is based on file name so if the file name is not found within the download folder it will download the missing item.
I plan to add more options to the downloading of favorites, including grabbing the latest "X" number of favorites, with the user specifying the "X", as well as adding an "oldest" option as well.
from imgur-to-folder.
that would be a really great feature to download the latest X images only.
In my case, I use google back up and sync program- downloading the images from imgur to folder to adding them to google photos, and when it's done, I remove the images from the folder. That is why downloading only the latest 50 or 60 images would be suitable for me instead of downloading all the favorites over and over.
from imgur-to-folder.
Hello!
I have added the ability to sort by newest and oldest favorited items, and also added the ability to limit the amount of favorites to download.
imgurtofolder --download-latest-favorites [username] --max_favorites [maximum_number_of_favorites]
[OR]
imgurtofolder --download-oldest-favorites [username] --max_favorites [maximum_number_of_favorites]
These commands will download your latest / oldest favorited items up to the number specified. You could also not include --max_favorites [maximum_number_of_favorites]
and download all your favorites in order from latest / oldest.
imgurtofolder --download-latest-favorites [username]
[OR]
imgurtofolder --download-oldest-favorites [username]
These two commands will hopefully offer better ease in your backing up and syncing to google drive.
Lastly, I have added --overwrite
incase pictures needed to be overwritten.
If there is any complications / improvements you have, feel free to ask!
from imgur-to-folder.
It works!
Thank you. exactly what I needed.
from imgur-to-folder.
hey,
in description, it says
imgurToFolder --download-latest-favorites [username] --max_favorites [maximum_number_of_favorites]
but command works with --max-favorites
from imgur-to-folder.
Hello!
Thank you for letting me know!
I just fixed --max-favorites to alert user if no number was given. Before it was acting as if --max-favorites was not even called and downloaded all favorites.
I also added a better example to the README and changed the headers.
Just let me know if there was anything else that I could improve!
from imgur-to-folder.
Related Issues (18)
- Two fixes HOT 1
- Can I use this program to backup my 80 000 images? HOT 20
- Not able to download more than 3060 favorites at a time. HOT 3
- Imgur Unable to Authenticate ImgurToFolder HOT 2
- Downloading others favorites? HOT 2
- bug(limit): Imgur-To-Folder download solely 500 images
- feature_request(images): download solely new images
- Close pls
- unable to change target folder HOT 2
- Not able to run itf command after configuring everything.
- Save timestamps
- feature_request(images): Download specific folder of favorites HOT 1
- Certain files can't be saved and stop the program HOT 1
- Not asking for client ID after setup
- Unable to install python3 HOT 2
- After install, does not ask for API Client_ID or Client_Secret HOT 1
- can't authenticate itf
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from imgur-to-folder.