From 2dc288fd22a946a1152fcb3daec19d390f47e11d Mon Sep 17 00:00:00 2001 From: pops64 Date: Sat, 21 Dec 2024 12:01:36 -0500 Subject: [PATCH] Fix for Title not being scraped Title was no longer being found fixed. Also removed the VR Porn Scene suffix being applied to recent scenes --- pkg/scrape/vrspy.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/scrape/vrspy.go b/pkg/scrape/vrspy.go index b81baf52e..659d3a641 100644 --- a/pkg/scrape/vrspy.go +++ b/pkg/scrape/vrspy.go @@ -62,7 +62,8 @@ func VRSpy(wg *models.ScrapeWG, updateSite bool, knownScenes []string, out chan< sc.SceneID = scraperID + "-" + sc.SiteID - sc.Title = e.ChildText(`.video-content .header-container .video-title .section-header-container`) + sc.Title = strings.TrimSuffix(strings.TrimSuffix(e.ChildText(`div.video-title .section-header-container`), " Scene"), " - VR Porn") + sc.Synopsis = e.ChildText(`.video-description-container`) sc.Tags = e.ChildTexts(`.video-categories .chip`)