mirror of https://github.com/stashapp/stash.git
Freeones Scrape: Fix scraping by alias
This commit is contained in:
parent
d4f383a005
commit
7c94262020
|
@ -65,6 +65,10 @@ func GetPerformer(performerName string) (*models.ScrapedPerformer, error) {
|
|||
if strings.ToLower(s.Text()) == strings.ToLower(performerName) {
|
||||
return true
|
||||
}
|
||||
alias := s.ParentsFiltered(".babeNameBlock").Find(".babeAlias").First();
|
||||
if strings.EqualFold(alias.Text(), "aka " + performerName) {
|
||||
return true
|
||||
}
|
||||
return false
|
||||
})
|
||||
|
||||
|
|
Loading…
Reference in New Issue