Skip to content

Commit

Permalink
scraper: Fix for VRSpy Titles not being scraped (#1883)
Browse files Browse the repository at this point in the history
Title was no longer being found fixed. Also removed the VR Porn Scene suffix being applied to recent scenes
  • Loading branch information
pops64 authored Jan 17, 2025
1 parent 5f58753 commit 1a33282
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/scrape/vrspy.go
Original file line number Diff line number Diff line change
Expand Up @@ -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`)

Expand Down

0 comments on commit 1a33282

Please sign in to comment.