Skip to content

Commit

Permalink
Fix for Title not being scraped
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 committed Dec 21, 2024
1 parent 5f58753 commit 2dc288f
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 2dc288f

Please sign in to comment.