const BaseUrl = "https://oldflix-api.azurewebsites.net"
type Browse struct { Id string Movie struct { Id string Tracks []Track } }
func (b *Browse) FetchWatch(trackId, token string) (*Watch, error)
func (b *Browse) GetOriginal() (*Track, error)
type Hls struct { Body []byte Url *url.URL }
type Login struct { Status int Token string }
func FetchLogin(username, password string) (*Login, error)
func (l *Login) FetchBrowse(contentId string) (*Browse, error)
https://oldflix.com.br/browse/play/5d5d54a4d55dc050f8468513
type Track struct { Id string Lang string Lnk string }
type Watch struct { Message string Playlist []struct { File string } }
func (w *Watch) FetchHls() (*Hls, error)