package
0.12.1
Repository: https://github.com/135e2/annie.git
Documentation: pkg.go.dev

# Functions

Domain get the domain of given URL.
FileLineCounter Counts line in file.
FileName Converts a string to a valid filename.
FilePath gen valid file path.
FileSize return the file size of the specified path file.
GetNameAndExt return the name and ext of the URL https://img9.bcyimg.com/drawer/15294/post/1799t/1f5a87801a0711e898b12b640777720f.jpg -> 1f5a87801a0711e898b12b640777720f, jpg.
GetStringFromJSON get the string value from json path.
ItemInSlice if a item is in the list.
LimitLength Handle overly long strings.
M3u8URLs get all urls from m3u8 url.
MatchAll return all matching results.
MatchOneOf match one of the patterns.
Md5 md5 hash.
MergeFilesWithSameExtension merges files that have the same extension into one.
MergeToMP4 merges video parts to an MP4 file.
NeedDownloadList return the indices of playlist that need download.
NewWaitGroupPool creates a sized pool for WaitGroup.
ParseInputFile Parses input file into args.
Range generate a sequence of numbers by range.
Reverse Reverse a string.

# Structs

WaitGroupPool pool of WaitGroup.