[deviantart] add 'external' option (#302)

If a description is available, this will extract URLs from the
description text and try to find Extractors for them.
This commit is contained in:
Mike Fährmann
2019-06-06 18:53:50 +02:00
parent f85e42cffc
commit 2fb85178da
3 changed files with 30 additions and 0 deletions

View File

@@ -395,6 +395,18 @@ Description Try to follow external URLs of embedded players.
=========== =====
extractor.deviantart.external
-----------------------------
=========== =====
Type ``bool``
Default ``false``
Description Try to follow external URLs in description fields.
Note: deviantart.metadata_ needs to be enabled to make descriptions
available.
=========== =====
extractor.deviantart.flat
-------------------------
=========== =====
@@ -1586,6 +1598,7 @@ Description An object with the ``name`` of a post-processor and its options.
.. _skipped: `extractor.*.skip`_
.. _`date-min and date-max`: `extractor.reddit.date-min & .date-max`_
.. _date-format: extractor.reddit.date-format_
.. _deviantart.metadata: extractor.deviantart.metadata_
.. _.netrc: https://stackoverflow.com/tags/.netrc/info
.. _tempfile.gettempdir(): https://docs.python.org/3/library/tempfile.html#tempfile.gettempdir