mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 04:14:39 +03:00
Skip cleaning for search by name scrape queries (#2059)
* Skip pp for search by name queries * upgrade htmlquery
This commit is contained in:
@@ -29,6 +29,15 @@ type Input struct {
|
||||
Gallery *models.ScrapedGalleryInput
|
||||
}
|
||||
|
||||
// simple type definitions that can help customize
|
||||
// actions per query
|
||||
type QueryType int
|
||||
|
||||
const (
|
||||
// for now only SearchQuery is needed
|
||||
SearchQuery QueryType = iota + 1
|
||||
)
|
||||
|
||||
// scraper is the generic interface to the scraper subsystems
|
||||
type scraper interface {
|
||||
// spec returns the scraper specification, suitable for graphql
|
||||
|
||||
Reference in New Issue
Block a user