cleanup code
This commit is contained in:
parent
12ad427baf
commit
e1f424b948
9 changed files with 138 additions and 95 deletions
|
@ -76,7 +76,7 @@ var Extractor = &models.Extractor{
|
|||
}
|
||||
|
||||
func MediaListFromAPI(ctx *models.DownloadContext) ([]*models.Media, error) {
|
||||
client := util.GetHTTPSession(ctx.Extractor.CodeName)
|
||||
client := util.GetHTTPClient(ctx.Extractor.CodeName)
|
||||
var mediaList []*models.Media
|
||||
|
||||
details, err := GetVideoAPI(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue