2022-04-25 05:55:05 +00:00
|
|
|
package scraper
|
|
|
|
|
|
|
|
import "github.com/stashapp/stash/pkg/models"
|
|
|
|
|
|
|
|
type ScrapedGallery struct {
|
|
|
|
Title *string `json:"title"`
|
|
|
|
Details *string `json:"details"`
|
2023-09-25 02:27:20 +00:00
|
|
|
URLs []string `json:"urls"`
|
2022-04-25 05:55:05 +00:00
|
|
|
Date *string `json:"date"`
|
|
|
|
Studio *models.ScrapedStudio `json:"studio"`
|
|
|
|
Tags []*models.ScrapedTag `json:"tags"`
|
|
|
|
Performers []*models.ScrapedPerformer `json:"performers"`
|
2023-09-25 02:27:20 +00:00
|
|
|
|
|
|
|
// deprecated
|
|
|
|
URL *string `json:"url"`
|
2022-04-25 05:55:05 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (ScrapedGallery) IsScrapedContent() {}
|
|
|
|
|
|
|
|
type ScrapedGalleryInput struct {
|
2023-09-25 02:27:20 +00:00
|
|
|
Title *string `json:"title"`
|
|
|
|
Details *string `json:"details"`
|
|
|
|
URLs []string `json:"urls"`
|
|
|
|
Date *string `json:"date"`
|
|
|
|
|
|
|
|
// deprecated
|
|
|
|
URL *string `json:"url"`
|
2022-04-25 05:55:05 +00:00
|
|
|
}
|