From eba89771073734a2a2dc1809d3f4d53cea31997a Mon Sep 17 00:00:00 2001 From: LittleSheep Date: Thu, 8 May 2025 01:47:21 +0800 Subject: [PATCH] :bug: Trying to fix scraping --- pkg/internal/services/scraper.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/internal/services/scraper.go b/pkg/internal/services/scraper.go index 3901e51..6430006 100644 --- a/pkg/internal/services/scraper.go +++ b/pkg/internal/services/scraper.go @@ -19,7 +19,7 @@ import ( ) // We have to set the User-Agent to this so the sites will respond with opengraph data -const ScrapLinkDefaultUA = "FacebookExternalHit/1.1" +const ScrapLinkDefaultUA = "facebookexternalhit/1.1" func GetLinkMetaFromCache(target string) (models.LinkMeta, error) { hash := md5.Sum([]byte(target))