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:
WithoutPants
2021-10-11 23:06:06 +11:00
committed by GitHub
parent b5381ff071
commit e9d48683f8
22 changed files with 1023 additions and 660 deletions

View File

@@ -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())