[twitter] add 'limit' option (#8173)

- reduce default number of requested items to 50
- allow using "fallback" values like with 'search-limit'

https://github.com/mikf/gallery-dl/issues/8173#issuecomment-3303015837
This commit is contained in:
Mike Fährmann
2025-12-02 20:42:08 +01:00
parent 0ebb74dfeb
commit d15b3d4eae
3 changed files with 30 additions and 12 deletions

View File

@@ -6215,6 +6215,23 @@ Description
* ``360x360``
extractor.twitter.limit
-----------------------
Type
* ``integer``
* ``list`` of ``integers``
Default
``50``
Example
``[40, 30, 20, 10, 5]``
Description
Number of requested results per API query.
When given as a ``list``,
start with the first element as ``count`` parameter
and switch to the next element whenever no results are returned.
extractor.twitter.logout
------------------------
Type