Documentation ¶
Index ¶
- func AskForConfirmation(question string) (bool, error)
- func CatchInterrupt(tmpPath *string)
- func CheckIfInArray(arr []string, val string) bool
- func CheckIfMultipleInArray(arr []string, val string) bool
- func CheckIfPathExists(path string) bool
- func CleanUp(path string) error
- func Decrypt(encrypted []byte, key []byte, iv []byte) ([]byte, error)
- func MakeDirectoryIfNotExists(path string) error
- func MergeToMP4(listPath string, outputPath string) ([]byte, error)
- func NewHttpClient(proxyUrl string) (*http.Client, error)
- func Request(method string, client *http.Client, url string, headers map[string]string, ...) (io.ReadCloser, error)
- type Bar
- type Downloader
- type HentaiVideo
- type HttpError
- type Server
- type Stream
- type Video
- type VideosManifest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AskForConfirmation ¶
func CatchInterrupt ¶
func CatchInterrupt(tmpPath *string)
func CheckIfInArray ¶
func CheckIfMultipleInArray ¶
func CheckIfPathExists ¶
Types ¶
type Downloader ¶
func NewDownloader ¶
func NewDownloader(client *http.Client) *Downloader
type HentaiVideo ¶
type HentaiVideo struct { Name string `json:"name"` Slug string `json:"slug"` Description string `json:"description"` Views int64 `json:"views"` Interests int64 `json:"interests"` Brand string `json:"brand"` Likes int64 `json:"likes"` Dislikes int64 `json:"dislikes"` Downloads int64 `json:"downloads"` MonthlyRank int64 `json:"monthly_rank"` CreatedAtUnix int64 `json:"created_at_unix"` ReleasedAtUnix int64 `json:"released_at_unix"` }
type Video ¶
type Video struct { HentaiVideo HentaiVideo `json:"hentai_video"` VideosManifest VideosManifest `json:"videos_manifest"` StreamIndex int OutputPath string }
type VideosManifest ¶
type VideosManifest struct {
Servers []Server `json:"servers"`
}
Click to show internal directories.
Click to hide internal directories.