func ExtractDexHexBytes(name string) (map[string]struct{}, error)
ExtractDexHexBytes returns a set (map) of unique 16-character hex strings found in .dex files
func GetAppKeys() []string
type App struct { Host string Version string Secret string }
func GetApp(key string) (*App, error)
func (a *App) FetchCbsCom(username, password string) (*http.Cookie, error)
WARNING IF YOU RUN THIS TOO MANY TIMES YOU WILL GET AN IP BAN. HOWEVER THE BAN IS ONLY FOR THE ANDROID CLIENT NOT WEB CLIENT
func (a *App) FetchPlayReady(contentId string, cbsCom *http.Cookie) (*Session, error)
func (a *App) FetchStreamingUrl(contentId string, cbsCom *http.Cookie) (*Session, error)
func (a *App) FetchWidevine(contentId string, cbsCom *http.Cookie) (*Session, error)
type Dash struct { Body []byte Url *url.URL }
type Session struct { LsSession string `json:"ls_session"` Message string StreamingUrl string // MPD Url string // License Server }
func (s *Session) Fetch(body []byte) ([]byte, error)
func (s *Session) FetchDash() (*Dash, error)