diff --git a/profile.go b/profile.go index 3cfc5ad..a96e2fe 100644 --- a/profile.go +++ b/profile.go @@ -33,6 +33,7 @@ type Profile struct { UserID string Username string Website string + Sensitive bool } type user struct { diff --git a/util.go b/util.go index 7851ad7..0ed2b1f 100644 --- a/util.go +++ b/util.go @@ -386,6 +386,7 @@ func parseProfileV2(user userResult) Profile { URL: "https://twitter.com/" + u.ScreenName, UserID: user.ID, Username: u.ScreenName, + Sensitive: u.PossiblySensitive, } tm, err := time.Parse(time.RubyDate, u.CreatedAt)