This commit is contained in:
Alessio 2022-11-24 19:01:30 -05:00
parent 0293f11b9b
commit 55c4db32de

View File

@ -2,9 +2,9 @@ package scraper
import ( import (
"fmt" "fmt"
log "github.com/sirupsen/logrus"
"strings" "strings"
"time" "time"
log "github.com/sirupsen/logrus"
"offline_twitter/terminal_utils" "offline_twitter/terminal_utils"
) )
@ -38,8 +38,8 @@ type Tweet struct {
// TODO get-rid-of-spaces: Might be good to get rid of `Spaces`. Only used in APIv1 I think. // TODO get-rid-of-spaces: Might be good to get rid of `Spaces`. Only used in APIv1 I think.
// A first-step would be to delete the Spaces after pulling them out of a Tweet into the Trove // A first-step would be to delete the Spaces after pulling them out of a Tweet into the Trove
// in ParseTweetResponse. Then they will only be getting saved once rather than twice. // in ParseTweetResponse. Then they will only be getting saved once rather than twice.
Spaces []Space Spaces []Space
SpaceID SpaceID SpaceID SpaceID
TombstoneType string TombstoneType string
IsStub bool IsStub bool