instagram: fixes url pattern

This commit is contained in:
stefanodvx 2025-04-23 19:12:38 +02:00
parent 93e964a28b
commit a24d9348bf

View file

@ -17,7 +17,7 @@ var Extractor = &models.Extractor{
CodeName: "instagram", CodeName: "instagram",
Type: enums.ExtractorTypeSingle, Type: enums.ExtractorTypeSingle,
Category: enums.ExtractorCategorySocial, Category: enums.ExtractorCategorySocial,
URLPattern: regexp.MustCompile(`https:\/\/(www\.)?instagram\.com\/(reel|p|tv)\/(?P<id>[a-zA-Z0-9_-]+)`), URLPattern: regexp.MustCompile(`https:\/\/(www\.)?instagram\.com\/(reels?|p|tv)\/(?P<id>[a-zA-Z0-9_-]+)`),
Host: instagramHost, Host: instagramHost,
IsRedirect: false, IsRedirect: false,