Documentation ¶
Index ¶
- func DecodeSnap(script string) (string, error)
- func GetRenderSnapSave(token string) (string, error)
- func NewCloudflareBypass() *resty.Client
- func TimeElapsed(name string) func()
- type DownloadY2MateResponse
- type GetSnapTwitterResponse
- type SnapInstaResponse
- type SnapSaveRenderResponse
- type SnapSaveResponse
- type SnaptikResponse
- type Y2MateResponse
- type Y2MateVideoData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeSnap ¶
func GetRenderSnapSave ¶
func NewCloudflareBypass ¶
func NewCloudflareBypass() *resty.Client
func TimeElapsed ¶
func TimeElapsed(name string) func()
Types ¶
type DownloadY2MateResponse ¶
type DownloadY2MateResponse struct { Status string `json:"status"` VideoID string `json:"vid"` Title string `json:"title"` MediaUrl string `json:"dlink"` }
func GetY2MateFromToken ¶
func GetY2MateFromToken(vidId string, data Y2MateVideoData) (response DownloadY2MateResponse, err error)
type GetSnapTwitterResponse ¶
type GetSnapTwitterResponse struct { Username string `json:"username"` Description string `json:"description"` Avatar string `json:"avatar"` MediaUrl string `json:"media_url"` }
func GetSnapTwitter ¶
func GetSnapTwitter(requiredUrl string) (response GetSnapTwitterResponse, err error)
type SnapInstaResponse ¶
type SnapInstaResponse struct { Username string `json:"username"` Avatar string `json:"avatar"` ResultMedia []string `json:"result_media"` }
func GetSnapInsta ¶
func GetSnapInsta(instagram string) (response SnapInstaResponse, err error)
type SnapSaveRenderResponse ¶
type SnapSaveResponse ¶
type SnapSaveResponse struct { Quality string `json:"quality"` Render bool `json:"render"` Link string `json:"link"` }
func GetSnapSave ¶
func GetSnapSave(requiredUrl string) (response []SnapSaveResponse, err error)
type SnaptikResponse ¶
type SnaptikResponse struct { Username string `json:"username"` Description string `json:"description"` VideoUrl []string `json:"video_url"` ImageUrl []string `json:"image_url"` }
func GetSnaptik ¶
func GetSnaptik(tiktok string) (response SnaptikResponse, err error)
type Y2MateResponse ¶
type Y2MateResponse struct { Status string `json:"status"` VideoId string `json:"vid"` Title string `json:"title"` Second int `json:"t"` Channel string `json:"a"` Links struct { Mp4 map[string]Y2MateVideoData `json:"mp4"` Mp3 map[string]Y2MateVideoData `json:"mp3"` Other map[string]Y2MateVideoData `json:"other"` } }
func GetY2Mate ¶
func GetY2Mate(urlTarget string) (response Y2MateResponse, err error)
Click to show internal directories.
Click to hide internal directories.