Documentation ¶
Index ¶
- Constants
- func ExtractM3u8(videoPageUrl string) error
- func GetMD5(str string) string
- func HttpGet(url string) (io.Reader, error)
- func HttpGetData(url string) ([]byte, error)
- func HttpGetDocument(url string) (*goquery.Document, error)
- func HttpGetStep1(url string) (*goquery.Document, error)
- func HttpGetStep2(url string, time string) (*goquery.Document, error)
- func HttpGetStep3(stepParam Step2) (string, error)
- func HttpPostForm(apiUrl string, data string) (string, error)
- func Logger() *zerolog.Logger
- func LoggerDebug(msg string)
- func LoggerError(msg string)
- func LoggerInfo(msg string)
- func NullUnPadding(in []byte) []byte
- type ExtractO8tv
- type Step2
- type Xmjx
- type XmjxStep2Params
- type XmjxVideo
Constants ¶
View Source
const ( // CONST_BASE_UA = "Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1" CONST_BASE_UA = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.131 Safari/537.36" CONST_BASE_URL = "https://jx.xmflv.com" CONST_BASE_URL1 = CONST_BASE_URL + "/?url=" // https://jx.m3u8.pw/?url= CONST_BASE_URL2 = CONST_BASE_URL + "/player.php" // https://jx.xmflv.com/player.php?time=1650878119&url=https://v.qq.com/x/cover/mzc00200imi2b3v/l00344c9o6b.html CONST_BASE_URL3 = CONST_BASE_URL + "/xmflv-1.SVG" // sdf )
View Source
const ( // CONST_BASE_UA = "Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1" CONST_BASE_XMJX_UA = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.131 Safari/537.36" CONST_BASE_XMJX_URL = "https://jx.xmflv.com" CONST_BASE_XMJX_URL1 = CONST_BASE_XMJX_URL + "/?url=" // https://jx.m3u8.pw/?url= CONST_BASE_XMJX_URL2 = CONST_BASE_XMJX_URL + "/player.php" // https://jx.xmflv.com/player.php?time=1650878119&url=https://v.qq.com/x/cover/mzc00200imi2b3v/l00344c9o6b.html CONST_BASE_XMJX_URL3 = CONST_BASE_XMJX_URL + "/xmflv-1.SVG" // sdf )
Variables ¶
This section is empty.
Functions ¶
func ExtractM3u8 ¶
func HttpGetData ¶
func HttpGetStep3 ¶
func LoggerDebug ¶
func LoggerDebug(msg string)
func LoggerError ¶
func LoggerError(msg string)
func LoggerInfo ¶
func LoggerInfo(msg string)
func NullUnPadding ¶
Types ¶
type ExtractO8tv ¶
type ExtractO8tv struct {
// contains filtered or unexported fields
}
func NewExtractO8tv ¶
func NewExtractO8tv(pageUrl string) ExtractO8tv
func (*ExtractO8tv) ExtractM3u8Url ¶
func (obj *ExtractO8tv) ExtractM3u8Url() (string, error)
type Xmjx ¶
type Xmjx struct {
// contains filtered or unexported fields
}
func (*Xmjx) ExtractVideo ¶
type XmjxStep2Params ¶
type XmjxStep2Params struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.