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