From 3519670cfd7c019f7e455102e944fcda9316942d Mon Sep 17 00:00:00 2001 From: toshski <104477758+toshski@users.noreply.github.com> Date: Wed, 28 Aug 2024 21:16:54 +1200 Subject: [PATCH] scraper: Fix VRSpy scene id (#1819) --- pkg/scrape/vrspy.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/scrape/vrspy.go b/pkg/scrape/vrspy.go index 598a5b2d6..22ab5a183 100755 --- a/pkg/scrape/vrspy.go +++ b/pkg/scrape/vrspy.go @@ -38,7 +38,7 @@ func VRSpy(wg *sync.WaitGroup, updateSite bool, knownScenes []string, out chan<- sc.Site = siteID sc.HomepageURL = e.Request.URL.String() - ogimage := e.ChildAttr(`meta[property="og:image"]`, "content") + ogimage := e.ChildAttr(`meta[property="og:image"][content*="cover.jpg"]`, "content") if ogimage != "" { ogimageURL, err := url.Parse(ogimage) if err == nil {