[fansly] improve file extraction code (#4401)

- add 'format' option
- handle exceptions
This commit is contained in:
Mike Fährmann
2025-09-04 22:55:42 +02:00
parent b64eba1f56
commit bfee2a37aa
4 changed files with 102 additions and 30 deletions

View File

@@ -2811,6 +2811,18 @@ Description
`fanbox.comments <extractor.fanbox.comments_>`__
extractor.fansly.format
-----------------------
Type
``list`` of ``integers``
Default
``[303, 302, 1, 2, 4]``
Description
Selects the file format to extract.
When more than one format is given, the first available one is selected.
extractor.fansly.token
----------------------
Type

View File

@@ -330,7 +330,9 @@
},
"fansly":
{
"token": ""
"token": "",
"format": [303, 302, 1, 2, 4]
},
"flickr":
{