Documentation ¶
Index ¶
- Constants
- func AesDecrypt(key []byte, encrypted []byte, iv []byte) (decoded []byte, err error)
- func DecryptFileAppend(output *os.File, file string, key []byte, iv []byte) error
- func FileAppend(output *os.File, file string) error
- func GetBaseUrl(url string) string
- func GetFileFromUrl(url string) string
- func GetMD5Hash(text string) string
- func HttpRequest(method string, url string, cookies []*http.Cookie, referer string) (*http.Response, error)
- func ParseCookieFile(filename string) ([]*http.Cookie, error)
- type Cookies
Constants ¶
View Source
const ( Name = "flowdownloader" Version = "1.1.6" Author = "Gianluca 'Matrix86' Braga" )
Variables ¶
This section is empty.
Functions ¶
func AesDecrypt ¶
func DecryptFileAppend ¶
func GetBaseUrl ¶
func GetFileFromUrl ¶
func GetMD5Hash ¶ added in v1.1.2
func HttpRequest ¶
Types ¶
type Cookies ¶
type Cookies []struct { Domain string `json:"domain"` ExpirationDate float64 `json:"expirationDate,omitempty"` HostOnly bool `json:"hostOnly"` HTTPOnly bool `json:"httpOnly"` Name string `json:"name"` Path string `json:"path"` SameSite string `json:"sameSite"` Secure bool `json:"secure"` Session bool `json:"session"` StoreID string `json:"storeId"` Value string `json:"value"` ID int `json:"id"` }
Cookies maps the json file exported from Chrome containing the cookies
Click to show internal directories.
Click to hide internal directories.