Skip to content

Commit

Permalink
scraper: Add website categories as tags for VirtualRealPorn (xbapps#1251
Browse files Browse the repository at this point in the history
)

Added Categories to tags. use "Force update" for existing scenes
  • Loading branch information
theRealKLH authored Apr 30, 2023
1 parent befe53e commit 70ef27e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/scrape/virtualrealporn.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ func VirtualRealPornSite(wg *sync.WaitGroup, updateSite bool, knownScenes []stri
})

// Tags
e.ForEach(`a[href*="/tag/"] span`, func(id int, e *colly.HTMLElement) {
// e.ForEach(`a[href*="/tag/"] span`, func(id int, e *colly.HTMLElement) {
e.ForEach(`div.metaSingleData a span`, func(id int, e *colly.HTMLElement) {
sc.Tags = append(sc.Tags, strings.TrimSpace(e.Text))
})
if scraperID == "virtualrealgay" {
Expand Down

0 comments on commit 70ef27e

Please sign in to comment.