From 8870180e8be16de28c6bdd812f1e795b34351f9c Mon Sep 17 00:00:00 2001 From: theRealKLH <65736720+theRealKLH@users.noreply.github.com> Date: Thu, 11 Jan 2024 20:52:26 -0500 Subject: [PATCH] Update realjamvr.go Fixed: Actors duped in newest 4 scenes due to tagging in Synopsis. --- pkg/scrape/realjamvr.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/scrape/realjamvr.go b/pkg/scrape/realjamvr.go index aa162daad..7f723a694 100644 --- a/pkg/scrape/realjamvr.go +++ b/pkg/scrape/realjamvr.go @@ -68,7 +68,7 @@ func RealJamSite(wg *sync.WaitGroup, updateSite bool, knownScenes []string, out // Cast sc.ActorDetails = make(map[string]models.ActorDetails) - e.ForEach(`div.scene-view a[href^='/actor/']`, func(id int, e *colly.HTMLElement) { + e.ForEach(`div.scene-view > a[href^='/actor/']`, func(id int, e *colly.HTMLElement) { sc.Cast = append(sc.Cast, strings.TrimSpace(e.Text)) sc.ActorDetails[strings.TrimSpace(e.Text)] = models.ActorDetails{Source: sc.ScraperID + " scrape", ProfileUrl: e.Request.AbsoluteURL(e.Attr("href"))} })