mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 20:34:37 +03:00
* Generalise scraper API * Add script performer scraper * Fixes from testing * Add context to scrapers and generalise * Add scraping performer from URL * Add error handling * Move log to debug * Add supported scrape types
67 lines
1.1 KiB
GraphQL
67 lines
1.1 KiB
GraphQL
query ListScrapers($scraper_type: ScraperType!) {
|
|
listScrapers(scraper_type: $scraper_type) {
|
|
id
|
|
name
|
|
type
|
|
urls
|
|
supported_scrapes
|
|
}
|
|
}
|
|
|
|
query ScrapePerformerList($scraper_id: ID!, $query: String!) {
|
|
scrapePerformerList(scraper_id: $scraper_id, query: $query) {
|
|
name
|
|
url
|
|
birthdate
|
|
ethnicity
|
|
country
|
|
eye_color
|
|
height
|
|
measurements
|
|
fake_tits
|
|
career_length
|
|
tattoos
|
|
piercings
|
|
aliases
|
|
}
|
|
}
|
|
|
|
query ScrapePerformer($scraper_id: ID!, $scraped_performer: ScrapedPerformerInput!) {
|
|
scrapePerformer(scraper_id: $scraper_id, scraped_performer: $scraped_performer) {
|
|
name
|
|
url
|
|
twitter
|
|
instagram
|
|
birthdate
|
|
ethnicity
|
|
country
|
|
eye_color
|
|
height
|
|
measurements
|
|
fake_tits
|
|
career_length
|
|
tattoos
|
|
piercings
|
|
aliases
|
|
}
|
|
}
|
|
|
|
query ScrapePerformerURL($url: String!) {
|
|
scrapePerformerURL(url: $url) {
|
|
name
|
|
url
|
|
twitter
|
|
instagram
|
|
birthdate
|
|
ethnicity
|
|
country
|
|
eye_color
|
|
height
|
|
measurements
|
|
fake_tits
|
|
career_length
|
|
tattoos
|
|
piercings
|
|
aliases
|
|
}
|
|
} |