1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-22 10:42:34 +01:00

[docs] update OAuth guide in README.rst

The Pixiv extractor requires a 'refresh-token' since 8974f0361c (mikf#1304).
This commit is contained in:
ClosedPort22 2023-01-05 17:31:57 +08:00
parent f29ba089ff
commit 0e8657edc2
No known key found for this signature in database

View File

@ -328,7 +328,10 @@ For example:
OAuth OAuth
----- -----
*gallery-dl* supports user authentication via OAuth_ for *gallery-dl* supports user authentication via OAuth_ for some extractors.
This is necessary for
``pixiv``
and optional for
``deviantart``, ``deviantart``,
``flickr``, ``flickr``,
``reddit``, ``reddit``,
@ -336,12 +339,12 @@ OAuth
``tumblr``, ``tumblr``,
and ``mastodon`` instances. and ``mastodon`` instances.
This is mostly optional, but grants *gallery-dl* the ability Linking your account to *gallery-dl* grants it the ability to issue requests
to issue requests on your account's behalf and enables it to access resources on your account's behalf and enables it to access resources which would
which would otherwise be unavailable to a public user. otherwise be unavailable to a public user.
To link your account to *gallery-dl*, start by invoking it with To do so, start by invoking it with ``oauth:<sitename>`` as an argument.
``oauth:<sitename>`` as an argument. For example: For example:
.. code:: bash .. code:: bash