Replies: 2 comments 6 replies
-
Just a CSRF token alone isn't enough. You would also need the accompanying cookie(s). I'll look into improving the current comment code. |
Beta Was this translation helpful? Give feedback.
6 replies
-
Could you kindly assist me in retrieving all the comments for this deviant -- https://www.deviantart.com/lukeclark4/art/Tsuyu-and-Dabi-swap-901819947? Although there are thousands of comments, I have only been able to retrieve a few of them. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I know that gallery-dl uses the public DeviantArt api, and the api only fetches comments up to 5 deep. Is there a way to get every comment on a deviation?
I tried to solve this by running curl after each download:
"postprocessors": [ { "name": "exec", "command": [ "curl", "https://www.deviantart.com/_napi/shared_api/comments/thread?typeid=1&itemid={index}&maxdepth=10000&order=newest&limit=50&csrf_token={csrf_token}" ] }]
However, gallery-dl doesn't expose CSRF tokens as a value like I thought and I can't see a way to manually get it, so this is a dead end so far.
Beta Was this translation helpful? Give feedback.
All reactions