Fix SetSearchLive, SetSearchPhotos and SetSearchVideos

This commit is contained in:
Alexander Sheiko 2020-12-23 19:08:17 +02:00
parent b9ae4a1de2
commit b6887fca9c
3 changed files with 30 additions and 16 deletions

View file

@ -65,12 +65,22 @@ func main() {
The search ends if we have 50 tweets.
### Search tweet in realtime
See [Rules and filtering](https://developer.twitter.com/en/docs/tweets/rules-and-filtering/overview/standard-operators) for build standard queries.
#### Search tweet in realtime
```golang
scraper.SearchLive(true)
scraper.SetSearchLive(true)
```
See [Rules and filtering](https://developer.twitter.com/en/docs/tweets/rules-and-filtering/overview/standard-operators) for build standard queries.
#### Filter search
```golang
scraper.SetSearchPhotos(true)
```
or
```golang
scraper.SetSearchVideos(true)
```
### Get profile