selector change
This commit is contained in:
parent
fcb4411c18
commit
e64c140c20
1 changed files with 1 additions and 1 deletions
|
|
@ -113,7 +113,7 @@ func FetchTweets(user string, last string) ([]*Tweet, error) {
|
||||||
s.Find(".js-retweet-text, .QuoteTweet").Each(func(i int, c *goquery.Selection) {
|
s.Find(".js-retweet-text, .QuoteTweet").Each(func(i int, c *goquery.Selection) {
|
||||||
tweet.IsRetweet = true
|
tweet.IsRetweet = true
|
||||||
})
|
})
|
||||||
s.Find(`span[class="js-pinned-text"]`).Each(func(i int, c *goquery.Selection) {
|
s.Find("span.js-pinned-text").Each(func(i int, c *goquery.Selection) {
|
||||||
tweet.IsPin = true
|
tweet.IsPin = true
|
||||||
})
|
})
|
||||||
s.Find(".ProfileTweet-actionCount").Each(func(i int, c *goquery.Selection) {
|
s.Find(".ProfileTweet-actionCount").Each(func(i int, c *goquery.Selection) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue