[pixiv] implement 'include' option

- split 'user' extractor and its 'avatar' and 'background' options into
  separate extractors ('artworks', 'avatar', 'background')
- avatars can now be downloaded with
  https://www.pixiv.net/en/users/ID/avatar
  as URL and will use a proper archive key; similar for backgrounds
- options for the 'user' subcategory must be moved to 'artworks' to have
  the same effect as before
This commit is contained in:
Mike Fährmann
2022-05-01 21:12:23 +02:00
parent d11e2191ae
commit 84756982e9
4 changed files with 179 additions and 134 deletions

View File

@@ -1776,28 +1776,28 @@ Description
Download from video pins.
extractor.pixiv.user.avatar
---------------------------
extractor.pixiv.include
-----------------------
Type
``bool``
* ``string``
* ``list`` of ``strings``
Default
``false``
``"artworks"``
Example
* ``"avatar,background,artworks"``
* ``["avatar", "background", "artworks"]``
Description
Download user avatars.
A (comma-separated) list of subcategories to include
when processing a user profile.
Possible values are
``"artworks"``, ``"avatar"``, ``"background"``, ``"favorite"``.
It is possible to use ``"all"`` instead of listing all values separately.
extractor.pixiv.user.background
-------------------------------
Type
``bool``
Default
``false``
Description
Download user background banners.
extractor.pixiv.user.metadata
-----------------------------
extractor.pixiv.artworks.metadata
---------------------------------
Type
``bool``
Default