instagram: fixes share urls
This commit is contained in:
parent
34219a848e
commit
3e307658fa
5 changed files with 33 additions and 9 deletions
|
@ -47,7 +47,7 @@ var VMExtractor = &models.Extractor{
|
|||
|
||||
Run: func(ctx *models.DownloadContext) (*models.ExtractorResponse, error) {
|
||||
client := util.GetHTTPClient(ctx.Extractor.CodeName)
|
||||
redirectURL, err := util.GetLocationURL(client, ctx.MatchedContentURL, "")
|
||||
redirectURL, err := util.GetLocationURL(client, ctx.MatchedContentURL, nil)
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("failed to get url location: %w", err)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue