Versions in this module Expand all Collapse all v0 v0.11.0 Aug 28, 2021 Changes in this version + var ErrURLParseFailed = errors.New("url parse failed") + type Data struct + Caption *Part + Err error + Site string + Streams map[string]*Stream + Title string + Type DataType + URL string + func EmptyData(url string, err error) *Data + func (d *Data) FillUpStreamsData() + type DataType string + const DataTypeImage + const DataTypeVideo + type Extractor interface + Extract func(url string, option Options) ([]*Data, error) + type Options struct + Cookie string + EpisodeTitleOnly bool + ItemEnd int + ItemStart int + Items string + Playlist bool + ThreadNumber int + YoukuCcode string + YoukuCkey string + YoukuPassword string + type Part struct + Ext string + Size int64 + URL string + type Stream struct + Ext string + ID string + NeedMux bool + Parts []*Part + Quality string + Size int64