[patreon] improve 'campaign_id' handling (#4699, #4715)

- add ways to directly specify a 'campaign_id'
  - 'campaign-id' config option
  - 'c' or 'campaign_id' URL query parameter
- more descriptive error messages
- show 'campaign_id' value in debug log
This commit is contained in:
Mike Fährmann
2023-10-25 17:18:06 +02:00
parent 31dbbffc0b
commit 12a800ce21
2 changed files with 50 additions and 18 deletions

View File

@@ -2440,6 +2440,20 @@ Description
Note: This requires 1 additional HTTP request per post.
extractor.patreon.campaign-id
-----------------------------
Type
``string``
Default
``"auto"``
Description
Alternative way of specifying the ``campaign_id`` value of a creator
in case the automatic extraction method no longer functions.
Another way of specifying this value is using a ``c`` or ``campaign_id``
URL query parameter, e,g, ``https://www.patreon.com/NAME?c=12345``.
extractor.patreon.files
-----------------------
Type