diff --git a/README.md b/README.md index a110f17..7b5def0 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # Hulu Downloader -The code in this repository allows you to download videos unencumbered with DRM from Hulu. The code in `widevine` is in general independent of the Hulu related code and can be used for Widevine license generation/decryption. The code in `hulu` is also standalone but only implements a handful of endpoints that are basically only useful for a command line tool of this nature. +The code in this repository allows you to download videos unencumbered with DRM from Hulu. The code in `widevine` is in general independent of the Hulu related code and can be used for Widevine license generation/decryption. The code in `client` is also standalone but only implements a handful of Hulu API endpoints that are basically only useful for a tool of this nature. ## Prerequisites The code in this repository by itself does not require any external libraries or tools to be installed. It merely finds the video URLs and decryption keys. The only dependencies required are cryptographic libraraies specified in go.mod but Go should handle these automatically. However, to actually perform MP4 decryption, Bento4 (and specifically its `mp4decrypt` tool) are required. Bento4 is an open source library for MP4 manipulation. Binary releases of its tools can be downloaded [here](https://www.bento4.com/downloads/). [`yt-dlp`](https://github.com/yt-dlp/yt-dlp) is also required to download the MPD playlist files to mp4s. Technically, this could be implemented rather easily in this repository but I want to keep this repository simple and avoid rewriting code to deal with segment merging or quality selection menus. diff --git a/client/client.go b/client/client.go index 5ea0142..dfd1c40 100644 --- a/client/client.go +++ b/client/client.go @@ -1,4 +1,4 @@ -package hulu +package client import ( "bytes" diff --git a/client/types.go b/client/types.go index 59c518d..f8acdc5 100644 --- a/client/types.go +++ b/client/types.go @@ -1,4 +1,4 @@ -package hulu +package client import ( "net/http"