package main import ( "log" "os" "git.anthrove.art/Anthrove/fa-sdk-go/pkg/furaffinaty" "git.anthrove.art/Anthrove/fa-sdk-go/pkg/furaffinaty/models" "github.com/davecgh/go-spew/spew" "github.com/gocolly/colly/v2" "github.com/gocolly/colly/v2/debug" _ "github.com/joho/godotenv/autoload" ) func main() { cookies := models.Cookie{ A: os.Getenv("COOKIE_A"), B: os.Getenv("COOKIE_B"), } collyOptions := []colly.CollectorOption{ colly.Debugger(&debug.LogDebugger{}), } faClient := furaffinaty.NewClient("SoXX", cookies, collyOptions) SubmissionIDs, err := faClient.GetSubmissionIDs() if err != nil { log.Fatal(err) } spew.Dump(SubmissionIDs) submissions, err := faClient.GetSubmissions(1) if err != nil { log.Fatal(err) } spew.Dump(submissions) }