From 953f43b0157e6373d5d08f435e1a2eb5cd66a27b Mon Sep 17 00:00:00 2001 From: SpedNSFW <68614336+SpedNSFW@users.noreply.github.com> Date: Sun, 26 Jul 2020 07:08:38 +1000 Subject: [PATCH] fix virtualrealporn tag scraping (#305) --- pkg/scrape/virtualrealporn.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/scrape/virtualrealporn.go b/pkg/scrape/virtualrealporn.go index ee422441f..29308246f 100644 --- a/pkg/scrape/virtualrealporn.go +++ b/pkg/scrape/virtualrealporn.go @@ -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)) })