🐛 Trying to fix scraping

This commit is contained in:
LittleSheep 2025-05-08 01:47:21 +08:00
parent 6cfa6e8285
commit eba8977107

View File

@ -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))