mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 04:14:39 +03:00
Autotag scraper (#1817)
* Refactor scraper structures * Move matching code into new package * Add autotag scraper * Always check first letter of auto-tag names * Account for nulls Co-authored-by: Kermie <kermie@isinthe.house>
This commit is contained in:
@@ -874,7 +874,8 @@ xPathScrapers:
|
||||
|
||||
globalConfig := mockGlobalConfig{}
|
||||
|
||||
performer, err := c.ScrapePerformerURL(ts.URL, nil, globalConfig)
|
||||
s := createScraperFromConfig(*c, nil, globalConfig)
|
||||
performer, err := s.Performer.scrapeByURL(ts.URL)
|
||||
|
||||
if err != nil {
|
||||
t.Errorf("Error scraping performer: %s", err.Error())
|
||||
|
||||
Reference in New Issue
Block a user