-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
[Deviantart] Non Stop 429 Errors and 403 Forbidden Errors #4871
Comments
Just want to add to this that since a few days I too have been receiving 403 errors with images that have a download option in the deviantart interface. I also have an account and token configured that have worked correctly until recently. |
Duplicate #4652 |
not a duplicate, that was for images that have downloads disabled. |
i've been having the same problem, deviantart downloads will work fine for a while before eventually getting hit with back to back 429 errors until finally settling on a 21 second delay, regardless of whether images have downloads enabled or not "extractor":
{
"base-directory": "[REDACTED]",
"parent-directory": false,
"postprocessors": null,
"archive": null,
"cookies": null,
"cookies-update": true,
"proxy": null,
"skip": true,
"user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Firefox/91.0",
"retries": 4,
"timeout": 30.0,
"verify": true,
"fallback": true,
"sleep": 0,
"sleep-request": 0,
"sleep-extractor": 0,
"path-restrict": "auto",
"path-replace": "_",
"path-remove": "\\u0000-\\u001f\\u007f",
"path-strip": "auto",
"extension-map": {
"jpeg": "jpg",
"jpe" : "jpg",
"jfif": "jpg",
"jif" : "jpg",
"jfi" : "jpg"
},
"deviantart":
{
"jwt": false,
"client-id": "[REDACTED]",
"client-secret": "[REDACTED]",
"refresh-token": "cache",
"comments": true,
"extra": true,
"flat": true,
"folders": false,
"include": ["gallery", "scraps", "journal", "status"],
"journals": "html",
"cookies": ["brave"],
"mature": true,
"auto-watch": true,
"metadata": true,
"original": true,
"wait-min": 0,
"filename": "{category}_{index}_{date}_{title}.{extension}",
"postprocessors": [
{
"name": "metadata",
"mode": "custom",
"directory" : "Descriptions",
"content-format" : "{description}\n",
"extension-format": "descr.html"
},
{
"name": "metadata",
"mode": "custom",
"directory" : "Descriptions",
"content-format" : "{comments}\n",
"extension-format": "comments.html"
},
{
"name": "metadata",
"mode": "custom",
"directory" : "Status",
"content-format" : "{status}\n",
"extension-format": "status.html"
}
]
}, |
You are either running an older gallery-dl version or you have Speaking of, private tokens generated from a refresh token have a much lower rate limit than public tokens and will sooner or later result in 429 errors like albert-softie reports. There is no known way around that. Maybe setting a high-enough
This shouldn't happen that fast. Are you sure gallery-dl is actually using your API credentials? Check the
correct. |
My attempts to download images from Deviant Art with gallery-dl 1.26.6 are immediately returning with 'API responded with 429 Too Many Requests.' warnings and multi-second sleeps. Running with '-v' I see the line:
... but I never see the two lines about using the private access token that has been listed in an earlier comment. I have 'client-id', 'client-secret' set for extractor.deviantart, and extractor.deviantart.refresh-token is set to 'cache'. I've run 'gallery-dl --clear-cache all' and then 'gallery-dl oauth:deviantart' and the latter ran successfully. This is the first few lines of output from 'gallery-dl -v "https://www.deviantart.com/XXXXX/gallery/"' -
Is there something else I need to do to get the refresh-token magic working? Thanks. |
Don't censor the link, it only makes things harder. |
@Brad3273 Try it again. If my guess is correct, it should have "fixed" itself by now, as the old |
You're right! It ran flawlessly today. Thank you. |
Hey there, hope everyone is doing well. My apologies in advance for the spam of questions but it's been around a year since i've used gallery-dl to download from Deviant Art and i'm guessing a lot has changed since then.
After just downloading about 30 images I start getting 429 errors and then on some images I get a 403 forbidden error where gallery-dl does a fallback and downloads a lower quality version of the image. (NOTE: the image giving 403 forbidden error has downloads enabled upon checking via browser)
Now regarding the images that have downloads disabled. I did some quick reading and apparently as of right now there is no work around to download images that have disabled downloads in full resolution if I am correct?
Here is my current config for DA. https://gist.github.com/cheese529/a9beaa310611465e9b9757f27e65f6d9 I believe I have it setup correctly with client id and refresh token but if anyone can tell me if something is wrong or if this is just an issue with DA i'd greatly appreciate it.
The text was updated successfully, but these errors were encountered: