From c9bad5f399cee98101731cde00a808e18556b829 Mon Sep 17 00:00:00 2001 From: Vlad Pronsky Date: Wed, 1 Jan 2025 17:17:13 +0200 Subject: [PATCH] doc: add section about limit param --- readme.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/readme.md b/readme.md index 7674d65..5c20d36 100644 --- a/readme.md +++ b/readme.md @@ -263,6 +263,10 @@ By default, parsed data is returned. The original tweet responses can be retriev twscrape search "elon mask lang:es" --limit=20 --raw ``` +### About `limit` param + +X API works through pagination, each API method can have different defaults for per page parameter (and this parameter can't be changed by caller). So `limit` param in `twscrape` is the desired number of objects (tweets or users, depending on the method). `twscrape` tries to return NO LESS objects than requested. If the X API returns less or more objects, `twscrape` will return whatever X gives. + ## Proxy There are few options to use proxies.