Skip to content
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 - add Story support #1756

Closed
SomeRandomDude870 opened this issue Sep 30, 2020 · 5 comments
Closed

Deviantart - add Story support #1756

SomeRandomDude870 opened this issue Sep 30, 2020 · 5 comments

Comments

@SomeRandomDude870
Copy link

Hi,
there is support the downloading Images from Deviantart.
I would like to be able to download Stories too.
Maybe make it so that it just downloads into a txt file or into a html, so it´s possible to add Stylesheets.

@rautamiekka
Copy link
Contributor

Yes, that won't be too hard to do. The resulting HTML is completely diff between logged in and non-logged in sessions, though, which needs to be accounted for:

When logged in, you're looking at pure HTML.

When not logged in, you're looking at a little of HTML, and all the data is inside a JSON that's directly in the HTML.

@rautamiekka
Copy link
Contributor

Here's an example I uploaded:

https://www.deviantart.com/rautamiekka/art/Story-upload-test-856640602

I'll link to another one from someone else when I find one that differs.

@Wiiplay123
Copy link
Contributor

I had this working in my personal ripme-da-desc fork before Eclipse ruined everything, both for journal-style stories and the descriptions of images/stories.

I actually went through two iterations, first a pure .txt which didn't get any of the italics or bold, then I added html saving so it would get that kind of stuff, including links.

I have to wait for someone to actually implement Eclipse ripping (in a way that doesn't result in an IP ban from DeviantArt like the latest version of RipMe had just before the switch to Eclipse) in order for me to start work on the story/description ripping.

@Wiiplay123
Copy link
Contributor

If the data is delivered as JSON from DeviantArt's end now, it would probably be better to save the original text from the JSON instead of converting to .html, for archival accuracy reasons and since encoding can get a bit weird and took me forever to get (probably) right in my version.

The stylesheets thing is a really good point though, since that's what I did with my fork before Eclipse.
Maybe have an option for each?

@metaprime
Copy link
Contributor

[Mega-Thread] DeviantArt ripper is broken; yes we know -- de-duping all other DeviantArt issues to this one. #2063

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants