2022-04-25 05:55:05 +00:00
|
|
|
package scraper
|
|
|
|
|
|
|
|
import "github.com/stashapp/stash/pkg/models"
|
|
|
|
|
|
|
|
type ScrapedGallery struct {
|
2023-11-28 04:05:33 +00:00
|
|
|
Title *string `json:"title"`
|
|
|
|
Code *string `json:"code"`
|
|
|
|
Details *string `json:"details"`
|
|
|
|
Photographer *string `json:"photographer"`
|
|
|
|
URLs []string `json:"urls"`
|
|
|
|
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-11-28 04:05:33 +00:00
|
|
|
Title *string `json:"title"`
|
|
|
|
Code *string `json:"code"`
|
|
|
|
Details *string `json:"details"`
|
|
|
|
Photographer *string `json:"photographer"`
|
|
|
|
URLs []string `json:"urls"`
|
|
|
|
Date *string `json:"date"`
|
2023-09-25 02:27:20 +00:00
|
|
|
|
|
|
|
// deprecated
|
|
|
|
URL *string `json:"url"`
|
2022-04-25 05:55:05 +00:00
|
|
|
}
|