Skip to content

Commit

Permalink
document extended blacklist/whitelist syntax (#2025)
Browse files Browse the repository at this point in the history
and not just in the commit message of 010d65d
  • Loading branch information
mikf committed Jan 6, 2022
1 parent 6e0a6c4 commit 3c79c9b
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion docs/configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -550,11 +550,19 @@ Type
``list`` of ``strings``
Default
``["oauth", "recursive", "test"]`` + current extractor category
Example
``["imgur", "gfycat:user", "*:image"]``
Description
A list of extractor categories to ignore (or allow)
A list of extractor identifiers to ignore (or allow)
when spawning child extractors for unknown URLs,
e.g. from ``reddit`` or ``plurk``.

Each identifier can be

* A category or basecategory name (``"imgur"``, ``"mastodon"``)
* | A (base)category-subcategory pair, where both names are separated by a colon (``"gfycat:user"``).
| Both names can be a `*` or left empty, matching all possible names (``"*:image"``, ``":user"``).
Note: Any ``blacklist`` setting will automatically include
``"oauth"``, ``"recursive"``, and ``"test"``.

Expand Down

0 comments on commit 3c79c9b

Please sign in to comment.