mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 04:14:39 +03:00
Merge pull request #133 from friendlycrab/scrape-alias
Consider performer aliases when scraping
This commit is contained in:
@@ -65,6 +65,10 @@ func GetPerformer(performerName string) (*models.ScrapedPerformer, error) {
|
|||||||
if strings.ToLower(s.Text()) == strings.ToLower(performerName) {
|
if strings.ToLower(s.Text()) == strings.ToLower(performerName) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
alias := s.ParentsFiltered(".babeNameBlock").Find(".babeAlias").First();
|
||||||
|
if strings.EqualFold(alias.Text(), "aka " + performerName) {
|
||||||
|
return true
|
||||||
|
}
|
||||||
return false
|
return false
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user