diff --git a/hulu/client.go b/client/client.go similarity index 99% rename from hulu/client.go rename to client/client.go index 1651e91..9748c43 100644 --- a/hulu/client.go +++ b/client/client.go @@ -164,7 +164,7 @@ func (c Client) PlaybackInformation(id string) (p PlaybackInformation, err error // the MPD file URL, and information relating to subtitles (Hulu calls them // transcripts). func (c Client) Playlist(sessionKey int, eabID string) (p Playlist, err error) { - randUUID := func() (s string) { + randUUID := func() string { randChars := func(n int) (s string) { c := []byte("ABCDEF0123456789") for i := 0; i < 4; i++ { diff --git a/hulu/types.go b/client/types.go similarity index 100% rename from hulu/types.go rename to client/types.go diff --git a/main.go b/main.go index d9f17f3..45af6ea 100644 --- a/main.go +++ b/main.go @@ -4,7 +4,7 @@ import ( "bytes" "encoding/hex" "fmt" - "github.com/chris124567/hulu/hulu" + hulu "github.com/chris124567/hulu/client" "github.com/chris124567/hulu/widevine" "io" "lukechampine.com/flagg"