-
-
Notifications
You must be signed in to change notification settings - Fork 947
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trying to download from deviantart #948
Comments
Okay so reading up, I did use oauth:deviantart and it said token is in cache, but when I try downloading I still get the delays |
Could you post what your extractor settings for deviantart in your config file looks like? |
Where would I be able to find that? |
If you don't have a configuration set up, read this: https://github.com/mikf/gallery-dl#configuration What's your OS? And do you have a program that allows you to edit .conf or .json files? |
Im using Windows 10. What programs can I use for editing? |
So I read what you sent me and I downloaded gallery-dl.conf. So now I must rename the file and put it into the gallery-dl folder in the user/myusername folder (the same place where downloads save). I have to edit the gallery-do.conf file so how do I go about this? |
This program, Notepad++, is a versatile program that is an improvement over the stock MS Notepad. When installed, it get linked to the context menu when you right click, so you can open and edit .json or .conf files easily. https://notepad-plus-plus.org/downloads/v7.8.9/ If you downloaded the example |
When you are able to open the .conf file for editing, respond and I'll advise you what to change. As is, this should be the stock extractor settings for deviantart, so confirm if you have this.
|
Hi I downloaded note pad ++ and copied gallery-dl.conf to the user/username folder. I can confirm i have the stock extractor |
Okay, in addition to changes to the extractor settings that will come later, the best results for using deviantart extraction involve creating/using a client id and your browser cookies. Regarding the cookies, there are extensions for Chrome and Firefox that allow the exportation of the cookies stored in your browser. For example: I use cookies.txt to export the cookies into, well, a txt file. You can find it here or here While you are logged onto DA, export your cookies to create a txt file. Put it in a place where it won't be accidentally deleted, and when the time comes, we'll be able to link your cookies.txt in your configuration file. Next is to create an app on DA to get a When you have your app set up and your cookies ready, we'll move on to the next steps. |
Okay I have my cookies, client Id and client-secret |
Alright, open your gallery-dl.conf with Notepad++ and go to your extractor settings for Deviantart. Make the following changes.
You can make adjustments here and there, but this is what they mean.
Use the numbers your got from your app and put it into
My suggestion regarding cookies is that, since the exported txt file contains cookies from all websites used on the browser, to copy and paste all Then, at the bottom of your config file, add this below the
This will have your cache file generate in your %USERPROFILE%, where you can identify it easily. Once this is all done, save the changes made to your configuration file, and run another Oauth request for Deviantart, since you will need to generate a new cache file with a new refresh-token. |
` "output":
}` So for the last part I copied it exactly this, is it correct? I left %USERPROFILE% as is. I ask this because I dont see a cache file generated. Also I tried downloading again and Im still experiencing delays but they seem shorter. |
Use this at the end. Keeping %USERPROFILE% in the config file is acceptable to use since Windows knows that points to your User folder. EDIT: If you are still experiencing delays, try increasing the Is it something like "API responded with 429 Too Many Requests"? |
The error I was getting was [deviantart][warning] API responded with 429 Too Many Requests. Using 64s delay. It ssems to be working fine now though. Thank you so much for your help and assistance 👍 |
Just keep in mind that, infrequently, the All you have to do is just export the cookies again. It's one of the reasons I have a separate txt file for my DA cookies only that my extractor points to; it's easier to see if it updates incorrectly. Also, keep in mind that the Some things with this program are set it and forget it, but others aren't, so you'll have to keep an eye out. Thankfully, you can keep files open in NP++ and it'll remember them (and tell if you they were changed such as the cookies.txt) even when you close the program, so I'd keep your cookies.txt and your config file open in it at all times. |
I see, so I’ll be sure to keep an eye out for that and sort it out when it happens. |
One last thing, since I noticed you closed this: you are able to change the location of your downloaded files from when you use gallery-dl. At the very top of your extractor settings in your configuration file, there is a setting for You can change the settings for your base directory to a different location. E.g. if you have a separate hard drive, D:, and don't want to have all your saves on your C: drive due to space, you can set your download location to
which will create a new folder called |
Thank you so much,
Thank you so much, I just installed a new hard drive and this was exactly what I was looking for :) Thank you for the tremendous help |
Hi so I’m kind of a noob
I’m trying to download a gallery from deviantart and I’m getting huge delays.
So I managed to get a refresh token but have no idea where or how to put it.
Could anyone help me?
Thanks in advance
The text was updated successfully, but these errors were encountered: