[deviantart] refactor 'extra' (#1356)
- change its expected type to string - let users specify a list of sources (stash, posts) or 'all'
This commit is contained in:
@@ -745,15 +745,20 @@ Description
|
||||
extractor.deviantart.extra
|
||||
--------------------------
|
||||
Type
|
||||
``bool`` or ``string``
|
||||
``string`` or ``list`` of ``strings``
|
||||
Default
|
||||
``false``
|
||||
``null``
|
||||
Example
|
||||
``stash,posts``
|
||||
Description
|
||||
Download embedded Deviations and Sta.sh resources from
|
||||
description texts and journals.
|
||||
A (comma-separated) list of extra content to extract
|
||||
from description texts and journals.
|
||||
|
||||
Set this option to ``"stash"`` or ``"deviations"``
|
||||
to select only one of them as a source.
|
||||
Possible values are
|
||||
``"posts"`` (embedded DeviantArt posts) and
|
||||
``"stash"`` (Sta.sh resources).
|
||||
|
||||
You can use ``"all"`` instead of listing all values separately.
|
||||
|
||||
Note: Enabling this option also enables
|
||||
`deviantart.metadata <extractor.deviantart.metadata_>`_.
|
||||
|
||||
@@ -58,7 +58,7 @@
|
||||
},
|
||||
"deviantart":
|
||||
{
|
||||
"extra": false,
|
||||
"extra": null,
|
||||
"flat": true,
|
||||
"folders": false,
|
||||
"include": "gallery",
|
||||
|
||||
Reference in New Issue
Block a user