Imports astuart.co/clyde astuart.co/persistent-cookiejar github.com/mitchellh/go-homedir github.com/pkg/errors golang.org/x/net/publicsuffix Standard library imports bytes encoding/json fmt io/ioutil log net/http net/url os path regexp strconv strings time