Skip to content

Commit

Permalink
doc: add section about limit param
Browse files Browse the repository at this point in the history
  • Loading branch information
vladkens committed Jan 1, 2025
1 parent 1e49e9f commit c9bad5f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit c9bad5f

Please sign in to comment.