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 login fails #599

Closed
SpiritQuaddicted opened this issue May 18, 2018 · 4 comments · Fixed by #684
Closed

Deviantart login fails #599

SpiritQuaddicted opened this issue May 18, 2018 · 4 comments · Fixed by #684

Comments

@SpiritQuaddicted
Copy link

  • Ripme version: 1.7.46

  • Java version:
    openjdk version "9.0.4"
    OpenJDK Runtime Environment (build 9.0.4+11)
    OpenJDK 64-Bit Server VM (build 9.0.4+11, mixed mode)

  • Operating system: Linux

  • Exact URL you were trying to rip when the problem occurred: https://marko-djurdjevic.deviantart.com/gallery/

  • Please include any additional information about how to reproduce the problem: Happens with any DA urls

Expected Behavior

ripme uses my credentials from ~/.config/ripme/rip.properties

deviantart.username=foo
deviantart.password=bar

Actual Behavior

Retrieving https://marko-djurdjevic.deviantart.com/gallery/
Failed to login: 
java.io.IOException: No auth_secure or auth cookies received
	at com.rarchives.ripme.ripper.rippers.DeviantartRipper.loginToDeviantart(DeviantartRipper.java:467)
	at com.rarchives.ripme.ripper.rippers.DeviantartRipper.getFirstPage(DeviantartRipper.java:130)
	at com.rarchives.ripme.ripper.AbstractHTMLRipper.rip(AbstractHTMLRipper.java:86)
	at com.rarchives.ripme.ripper.AbstractRipper.run(AbstractRipper.java:533)
	at java.base/java.lang.Thread.run(Thread.java:844)
@cyian-1756
Copy link
Collaborator

It looks like DA changed how their login system works

@cyian-1756
Copy link
Collaborator

Looks like DA has started outright blocking automatic logins

@SpiritQuaddicted
Copy link
Author

Thanks!

@cyian-1756
Copy link
Collaborator

cyian-1756 commented Jun 16, 2018

@SpiritQuaddicted To login to your own DA account using ripme 1.7.52 you have to use cookies and not your username and password. To do so login to DA using a web browser (and be sure to click the remember me button) and then view your cookies (how exactly to do this will differ based on your browser) and copy the auth, auth_secure and userinfo into rip.properties.

The entry in rip.properties should look like "auth=AUTH_COOKIE_GOES_HERE;auth_secure=AUTH_SECURE_COOKIE_GOES_HERE;userinfo=USERINFO_GOES_HERE

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

Successfully merging a pull request may close this issue.

2 participants