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