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: private deviation detected #1930

Closed
rufi-san opened this issue Oct 7, 2021 · 20 comments
Closed

deviantart: private deviation detected #1930

rufi-san opened this issue Oct 7, 2021 · 20 comments

Comments

@rufi-san
Copy link

rufi-san commented Oct 7, 2021

Sin títulop

i have a problem with downloading this gallery in deviantart, first was that the have many request and now this with the private sesion

i donde have linux only window, so if someone can help me

thanks and sorry for my bad english

@kattjevfel
Copy link
Contributor

Did you attempt to run gallery-dl oath:deviantart as it asks you to do? What happens when you do?

@rufi-san
Copy link
Author

rufi-san commented Oct 7, 2021

Did you attempt to run gallery-dl oath:deviantart as it asks you to do? What happens when you do?

i dont understand clearly what you say to me but i supose you ask me if i run gallery dl in deviantart right? yes, i do, and only in that gallery i received this message of private deviation detected

and again sorry for my bad english

@kattjevfel
Copy link
Contributor

I ask you to run gallery-dl.exe oauth:deviantart first, follow the prompts given and then once that's done you can download from deviantart without issues.

@rufi-san
Copy link
Author

rufi-san commented Oct 7, 2021

I ask you to run gallery-dl.exe oauth:deviantart first, follow the prompts given and then once that's done you can download from deviantart without issues.

G

i tried but not working

@mikf
Copy link
Owner

mikf commented Oct 7, 2021

No, you ran
gallery-dl oauth: https://www.deviantart.com/niingyooart

You need to just run
gallery-dl oauth:deviantart

Afterwards gallery-dl https://www.deviantart.com/niingyooart is going to work.

@rufi-san
Copy link
Author

rufi-san commented Oct 7, 2021

No, you ran gallery-dl oauth: https://www.deviantart.com/niingyooart

You need to just run gallery-dl oauth:deviantart

Afterwards gallery-dl https://www.deviantart.com/niingyooart is going to work.

Sin títuloOO

they dont let my past the text of gallery-dl https://www.deviantart.com/niingyooart that i can complete the work

sorry for are the problems and thanks for your patience

@rufi-san
Copy link
Author

rufi-san commented Oct 7, 2021

No, you ran gallery-dl oauth: https://www.deviantart.com/niingyooart

You need to just run gallery-dl oauth:deviantart

Afterwards gallery-dl https://www.deviantart.com/niingyooart is going to work.

Sin título0000

i use ctrl+c and that happens, if you now something else please tell

@rautamiekka
Copy link
Contributor

1st, run:

gallery-dl -v --clear-cache oauth --clear-cache deviantart

and then, instead of

gallery-dl oauth:deviantart

, try

gallery-dl -v oauth:deviantart

to show the verbose lines.

@rufi-san
Copy link
Author

1st, run:

gallery-dl -v --clear-cache oauth --clear-cache deviantart

and then, instead of

gallery-dl oauth:deviantart

, try

gallery-dl -v oauth:deviantart

to show the verbose lines.

Sin v

still not working or i did somethig wrong in the final step, if i miss something please tell me >_<

@Hrxn
Copy link
Contributor

Hrxn commented Oct 12, 2021

Could you try the same again but with gallery-dl -v -o 'extractor.oauth.browser=false' oauth:deviantart

Or if that doesn't work somehow, set the oauth.browser option in your config file.

Edit:

You obviously have to do that step with your browser... And you need to be signed in to DeviantArt with this browser, by the way.

@rufi-san
Copy link
Author

Could you try the same again but with gallery-dl -v -o 'extractor.oauth.browser=false' oauth:deviantart

Or if that doesn't work somehow, set the oauth.browser option in your config file.

Edit:

You obviously have to do that step with your browser... And you need to be signed in to DeviantArt with this browser, by the way.

before i do anything, can i show you how i gonna put in order? then i see the steps i need to follow i m ver noob in this and i dont wanna mess up. then, be like this right?

1- gallery-dl -v -o 'extractor.oauth.browser=false' (in the same line right?)

2- oauth:deviantart (i think in this part always i saw the message of keyboardinterrupt or something)

3- gallery-dl https://www.deviantart.com/niingyooart (or gallery-dl -v -o https://www.deviantart.com/niingyooar ?)

if this failed i dont now how to config file in oauth.browser, i use window, and i only put gallery-dl in one of my local cd or external hard drive and put it to work like this

cd/ or g:

gallery-dl.exe (link of insta, da, etc)

and yes i do it with my browser and always signed in da

sorry for all the problems

@Hrxn
Copy link
Contributor

Hrxn commented Oct 12, 2021

Yes, this is one command..
So the steps, in order:

  1. Copy and paste gallery-dl -v -o "extractor.oauth.browser=false" oauth:deviantart into your CMD window and hit enter
  2. It takes a short moment, but you should now see some text printed, including a URL
  3. Copy and paste the URL from the CMD window into a browser where you are signed into DeviantArt
  4. Follow the steps in the browser window
  5. You should see the OAuth tokens you need for your config file, in both the CMD window and maybe also the browser

@rufi-san
Copy link
Author

rufi-san commented Oct 12, 2021

Yes, this is one command.. So the steps, in order:

  1. Copy and paste gallery-dl -v -o 'extractor.oauth.browser=false' oauth:deviantart into your CMD window and hit enter
  2. It takes a short moment, but you should now see some text printed, including a URL
  3. Copy and paste the URL from the CMD window into a browser where you are signed into DeviantArt
  4. Follow the steps in the browser window
  5. You should see the OAuth tokens you need for your config file, in both the CMD windows and maybe also the browser

i dont see any url, only this, when the text told me press ctrl+c what i need to copy?

Sin títuloo

@rautamiekka
Copy link
Contributor

Since you're using Command Prompt on Window$, you need to replace single quotes (') with double ones ("). If you were using PowerShell, then the single quotes would work.

@rufi-san
Copy link
Author

oh my good is working!! thank you very much for all the people ho help me in this!, thanks for your patience!

i put the '' like rautamiekka said and put the comands from Hrxn and the link have appear, i didnt now how to past the link but searching i figuret out! and the they start working!

thank you so much! and very sorry for all the problems

@AlttiRi
Copy link

AlttiRi commented Nov 23, 2021

I did before that:
https://github.com/mikf/gallery-dl/blob/master/docs/configuration.rst#extractordeviantartclient-id--client-secret
After this I have downloaded the images without the throttling.

But in order to download a "premium" (sub only) content it was required to run

gallery-dl -v -o "extractor.oauth.browser=false" oauth:deviantart

from the comment above.

(It showed (no refresh-token) warning.)

Now it works.

UPD. Or, probably, my refresh-token just expired. So, I was needed to get the new one.

UPD (2022.03.26).
Yes, I just only need to use

gallery-dl oauth:deviantart

once in 3 months.

@Hrxn
Copy link
Contributor

Hrxn commented Nov 23, 2021

Just for the record:

All that this option:
-o "extractor.oauth.browser=false"
does is to turn off a convenience function active by default, which makes gallery-dl tell Python to open your browser automagically with the right URL, by using the Python built-in webbrowser.open. This is usually the browser defined as your default app in your operating system. If you don't use your default browser, or use it, but maybe not for some sites like dA, or have some other "weird" custom standard browser setting in your system, this option turns this off and asks you to manually open the URL in your "correct" browser. That's all, this option is not directly changing anything related to OAuth or something.

@AlttiRi
Copy link

AlttiRi commented Mar 26, 2022

It looks that I need to call

gallery-dl oauth:deviantart

once in 3 month in order to download followers only artworks.

However it's not required to do to bypass 429 error.

So you need to be care, to not forget to refresh it. Otherwise you may miss some artworks.

Maybe automatically to run this command on putting deviant art URL once in 3 months? No need more actions, it's enough to just call it. Or just show a warning.

@rautamiekka
Copy link
Contributor

rautamiekka commented Mar 26, 2022

I think it was stated in this repo that if you use the same acc you use to DL, the cookies will naturally expire a whole lotta faster => in the case of watcher-only, you could use a dummy acc for the majority and your own (or create another for watcher-only DL only, but that'll get suspicious to some ppl eventually) for the rest.

Although ... it's weird cuz I use both my main and a dummy for DA (main for watcher-only DL and regular use, and a dummy for most of DL), yet have never had to run the oauth command to refresh.

@mikf
Copy link
Owner

mikf commented Mar 28, 2022

It looks that I need to call gallery-dl oauth:deviantart once in 3 month in order to download followers only artworks.

You need to go through the [deviantart][info] Refreshing private access token step at least once every 3 months. I haven't used oauth:deviantart since forever and my token is still valid.

The 3 month time limit is also mentioned in https://github.com/mikf/gallery-dl/blob/master/docs/configuration.rst#extractordeviantartrefresh-token

the cookies will naturally expire a whole lotta faster

While true, cookies and OAuth tokens are very different. Cookies are, as far as I am aware, no longer needed for anything deviantart. They were needed to fetch r18 scraps, but not anymore (1f02878).

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

6 participants