[tumblr] extend 'reblogs' functionality (#103)

Setting 'reblogs' to "deleted" will check if the parent post of a
reblog has been deleted and download its media content if that is the
case, otherwise it will be skipped.

This is a rather costly operation (1 API request per reblogged post)
and should therefore be used with care.
This commit is contained in:
Mike Fährmann
2018-09-07 18:32:45 +02:00
parent c9b8e6aefc
commit a666ddd16b
2 changed files with 21 additions and 4 deletions

View File

@@ -614,16 +614,20 @@ extractor.tumblr.inline
=========== =====
Type ``bool``
Default ``false``
Description Search posts for inline images.
Description Search posts for inline images and videos.
=========== =====
extractor.tumblr.reblogs
------------------------
=========== =====
Type ``bool``
Type ``bool`` or ``string``
Default ``true``
Description Extract images from reblogged posts.
Description * ``true``: Extract media from reblogged posts
* ``false``: Skip reblogged posts
* ``"deleted"``: Skip reblogged posts, but download from them
anyway if the parent post has been deleted
(requires 1 additional API request per reblogged post)
=========== =====