Skip to content

Commit

Permalink
Merge branch 'vrspy_fix_dupe_images' into RFTW
Browse files Browse the repository at this point in the history
  • Loading branch information
theRealKLH committed Mar 1, 2024
2 parents 1797c3d + 573c189 commit b89ef51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/scrape/vrspy.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ func VRSpy(wg *sync.WaitGroup, updateSite bool, knownScenes []string, out chan<-
}

nuxtData := e.ChildText(`#__NUXT_DATA__`)
imageRegex := regexp.MustCompile(regexp.QuoteMeta(cdnSceneURL.String()) + `/photos/[^?"]*\.jpg`)
imageRegex := regexp.MustCompile(regexp.QuoteMeta(cdnSceneURL.String()) + `(/photos/[^?"]*\.jpg)\?width`)
sc.Gallery = imageRegex.FindAllString(nuxtData, -1)

// trailer details
Expand Down

0 comments on commit b89ef51

Please sign in to comment.