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

Commitbe866da

Browse files
authored
scraper: NaughtyAmerica: Fix Cast been returned as undefined (#1816)
1 parent9bae269 commitbe866da

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎pkg/scrape/navr.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@ func NaughtyAmericaVR(wg *sync.WaitGroup, updateSite bool, knownScenes []string,
139139
vm:=otto.New()
140140

141141
script:=e.Text
142+
script=strings.ReplaceAll(script,"nanalytics.trackExperiment('scene_page_viewed', 'streaming_option_join_button');","")
142143
script=strings.Replace(script,"window.dataLayer","dataLayer",-1)
143144
script=strings.Replace(script,"dataLayer = dataLayer || []","dataLayer = []",-1)
144145
script=script+"\nout = []; dataLayer.forEach(function(v) { if (v.femaleStar) { out.push(v.femaleStar); } });"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp