Fix SetSearchLive, SetSearchPhotos and SetSearchVideos
This commit is contained in:
parent
b9ae4a1de2
commit
b6887fca9c
3 changed files with 30 additions and 16 deletions
16
README.md
16
README.md
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue