Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit1760f4a

Browse files
authored
scraper: fix duplicate gallery images for VRSpy (force update to fix existing scenes)
fix dupe images caused by website changes
1 parent7519307 commit1760f4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎pkg/scrape/vrspy.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ func VRSpy(wg *sync.WaitGroup, updateSite bool, knownScenes []string, out chan<-
114114
}
115115

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

120120
// trailer details

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp