Add optional delay between API requests
This commit is contained in:
parent
1c3fd0e0c9
commit
01ac1b672c
3 changed files with 33 additions and 0 deletions
|
|
@ -176,6 +176,14 @@ if err != nil {
|
|||
}
|
||||
```
|
||||
|
||||
### Delay requests
|
||||
|
||||
Add delay between API requests (in seconds)
|
||||
|
||||
```golang
|
||||
scraper.WithDelay(5)
|
||||
```
|
||||
|
||||
### Load timeline with tweet replies
|
||||
|
||||
```golang
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue