Skip to content

Commit

Permalink
fix virtualrealporn tag scraping (xbapps#305)
Browse files Browse the repository at this point in the history
  • Loading branch information
SpedNSFW authored Jul 25, 2020
1 parent f76fa77 commit 953f43b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/scrape/virtualrealporn.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ func VirtualRealPornSite(wg *sync.WaitGroup, updateSite bool, knownScenes []stri
})

// Tags
e.ForEach(`a.g-btn span`, func(id int, e *colly.HTMLElement) {
e.ForEach(`a[href*="/tag/"] span`, func(id int, e *colly.HTMLElement) {
sc.Tags = append(sc.Tags, strings.TrimSpace(e.Text))
})

Expand Down

0 comments on commit 953f43b

Please sign in to comment.