-
-
Notifications
You must be signed in to change notification settings - Fork 975
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
Retrieving metadata to constructing Deviantart Gallery structure? #419
Comments
Some journal-like posts are not reported to be journals (isJournal is set to False), even though they have a textContent field. https://www.deviantart.com/gliitchlord/art/brashstrokes-812942668
You should remove the global
To explain:
(although the The issue with "Literature" posts such as https://www.deviantart.com/gliitchlord/art/brashstrokes-812942668 should also be fixed (01bc7ad) |
Thanks for replying! I'll try this out ASAP and get back to you! |
Okay, I reinstalled and tried using the program again using your settings. Unfortunately any attempt to download any Favorites link just dumps everything in the root directly, and the Favorite directory option is just ignored. My settings are as follows: ` "username": "",
|
My bad, sorry about that. Essentially you'll have to replace the …
"favorite":
{
"flat": false
},
"collection":
{
"directory" : ["DeviantArt", "Users", "{username}", "Favorites", "{collection[title]}"]
},
… |
And to actually come back to your initial question: To get everything from a DeviantArt profile, you'll have to run gallery-dl with 4 different URLs:
The "top-level" URL (https://www.deviantart.com/shimoda7/) gets handled as if it were a |
This would be very helpful! But everything seems to be working now! :D Edit: Actually it seems that on large galleries ( 200+ images) it seems to lose track of images. I find that sometimes I get OATH errors that terminate the whole download, which then leaves me with an incomplete gallery and no way to recover. Is there a way for me to validate whether or not I have everything? Edit2: Actually I realized it's this #273 but this issue says it's been fixed. Has Deviantart changed something since then? |
Those OAuth errors are most likely due to your Anyway, try getting a new
Not really, but if gallery-dl finishes without error, you should have gotten everything.
It has, but it shouldn't be the same error again. If your error looks like
it's your refresh-token. Otherwise I'd need more information. |
First of all, my current Deviantart Extractor settings are as follows
I am trying to reconstruct the folder structure of the entire gallery. From what I gather it's impossible to get all the files within a gallery without downloading it using the flat structure, so I have a separate external script to check the json metadata files and copy them to the proper folders.
However, I can't figure out how to properly extract all of the files within a user's account. If I try to use the root of an artist's page, such as the url
https://www.deviantart.com/shimoda7/
this downloads the Gallery only, ignoring favorites. I can process a second version of each URL to that targets the Favorites folder, but when I do so, this does not retrieve the Collections the file is a part of in the JSON file. It seems the only way to retrieve this information is by manually retrieving the path of each folder and extracting them one-by-one, which is impractical if you're trying to process a batch of galleries.
Is there any way I can all the files within a user's gallery, all the favorites in that user's favorites, and the metadata containing the folders they are within?
edit: oops i made a typo in the title 😳
edit2: This is a separate issue but I believe it's also related to having improper settings. I tried to download a gallery with these settings, and after about 18 hours I got 300 images before it froze up. I know using the folders = true option is supposed to take a long time, but is this behavior normal? This seems to be an exceptionally long time
It also seems that "Literature" posts no longer work, as if I try
gallery-dl https://www.deviantart.com/gliitchlord/art/brashstrokes-812942668
the only output I get is a jpg. I was previously able to get them though, but no longer.
The text was updated successfully, but these errors were encountered: