update twitter import again, from tom

This commit is contained in:
Ted Unangst 2023-08-04 13:08:15 -04:00
parent 79756a6b0f
commit 2376371d76
1 changed files with 1 additions and 6 deletions

View File

@ -338,7 +338,7 @@ func importTwitter(username, source string) {
}
var tweets []*Tweet
fd, err := os.Open(source + "/tweet.js")
fd, err := os.Open(source + "/tweets.js")
if err != nil {
elog.Fatal(err)
}
@ -375,11 +375,6 @@ func importTwitter(username, source string) {
continue
}
if t.Tweet.FavoriteCount == "0" || t.Tweet.FavoriteCount == "" {
log.Printf("skipping, unworthy tweet")
continue
}
what := "honk"
noise := ""
if parent := tweetmap[t.Tweet.InReplyToStatusID]; parent != nil {