check tweets for sensitive content

This commit is contained in:
vtgare 2022-03-04 20:15:29 +02:00
parent e6ddf32a93
commit cd161d56db
3 changed files with 41 additions and 28 deletions

View file

@ -12,29 +12,30 @@ type (
// Tweet type.
Tweet struct {
Hashtags []string
HTML string
ID string
InReplyToStatus *Tweet
IsQuoted bool
IsPin bool
IsReply bool
IsRetweet bool
Likes int
PermanentURL string
Photos []string
Place *Place
QuotedStatus *Tweet
Replies int
Retweets int
RetweetedStatus *Tweet
Text string
TimeParsed time.Time
Timestamp int64
URLs []string
UserID string
Username string
Videos []Video
Hashtags []string
HTML string
ID string
InReplyToStatus *Tweet
IsQuoted bool
IsPin bool
IsReply bool
IsRetweet bool
Likes int
PermanentURL string
Photos []string
Place *Place
QuotedStatus *Tweet
Replies int
Retweets int
RetweetedStatus *Tweet
Text string
TimeParsed time.Time
Timestamp int64
URLs []string
UserID string
Username string
Videos []Video
SensitiveContent bool
}
// ProfileResult of scrapping.