[deviantart] add option to minimize refresh-token usage

Always trying with a public token first and repeating the API request
with a private token if deviations are missing doesn't quite work for
galleries and folders with less than 25 items, so its an option and
not the default.
This commit is contained in:
Mike Fährmann
2018-07-24 20:10:33 +02:00
parent d98e47817d
commit 886d662582
2 changed files with 31 additions and 8 deletions

View File

@@ -346,6 +346,23 @@ Description The ``refresh_token`` value you get from linking your
=========== =====
extractor.deviantart.try-public
-------------------------------
=========== =====
Type ``bool``
Default ``false``
Description Try accessing a user's deviations with a public access token first
and only switch to a private access token if deviations are
detected as missing (i.e. they are only visible to logged in users).
This option only has an effect when using a `refresh token`__
and tries to minimize the amount of API calls with private access
tokens, as they have a much lower rate limit than public ones.
__ extractor.deviantart.refresh-token_
=========== =====
extractor.deviantart.wait-min
-----------------------------
=========== =====