Scraper inputs (#4922)

* Pass more details in scene/gallery scrape
This commit is contained in:
WithoutPants
2024-06-11 13:12:45 +10:00
committed by GitHub
parent dcb86d9186
commit 94a978d063
4 changed files with 210 additions and 69 deletions

View File

@@ -66,7 +66,7 @@ func (s *jsonScraper) loadURL(ctx context.Context, url string) (string, error) {
return "", errors.New("not valid json")
}
if err == nil && s.config.DebugOptions != nil && s.config.DebugOptions.PrintHTML {
if s.config.DebugOptions != nil && s.config.DebugOptions.PrintHTML {
logger.Infof("loadURL (%s) response: \n%s", url, docStr)
}