add GetTweetReplies method
This commit is contained in:
parent
e053917d34
commit
f86a0ea59d
6 changed files with 232 additions and 7 deletions
|
|
@ -199,7 +199,7 @@ func (s *Scraper) GetTweet(id string) (*Tweet, error) {
|
|||
return nil, err
|
||||
}
|
||||
|
||||
tweets := conversation.parse()
|
||||
tweets, _ := conversation.parse(id)
|
||||
for _, tweet := range tweets {
|
||||
if tweet.ID == id {
|
||||
return tweet, nil
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue