stash
This commit is contained in:
53
stash/config/scrapers/community/PlayboyPlus/PlayboyPlus.yml
Normal file
53
stash/config/scrapers/community/PlayboyPlus/PlayboyPlus.yml
Normal file
@@ -0,0 +1,53 @@
|
||||
name: PlayboyPlus
|
||||
sceneByURL:
|
||||
- action: scrapeXPath
|
||||
url: &urls
|
||||
- playboyplus.com
|
||||
- pbp-ma.playboy.com
|
||||
- pbp-ma-legacy.playboy.com
|
||||
scraper: sceneScraper
|
||||
queryURL: "{url}"
|
||||
queryURLReplace:
|
||||
url:
|
||||
- regex: (?:https://)?(pbp-ma(-legacy)?.playboy.com)/gallery/([^/]*)(?:/vip)?
|
||||
with: https://playboyplus.com/gallery/$3
|
||||
galleryByURL:
|
||||
- action: scrapeXPath
|
||||
url: *urls
|
||||
scraper: galleryScraper
|
||||
queryURL: "{url}"
|
||||
queryURLReplace:
|
||||
url:
|
||||
- regex: (?:https://)?(pbp-ma(-legacy)?.playboy.com)/gallery/([^/]*)(?:/vip)?
|
||||
with: https://playboyplus.com/gallery/$3
|
||||
xPathScrapers:
|
||||
sceneScraper:
|
||||
scene:
|
||||
Title: &title
|
||||
selector: //h1[@class="title"]
|
||||
Date: &date
|
||||
selector: //p[@class="date label"]
|
||||
postProcess:
|
||||
- parseDate: January 2, 2006
|
||||
Performers: &performers
|
||||
Name: //p[@class="contributorName"]//a[contains(@href, "profile")]
|
||||
Details: &details
|
||||
selector: //p[@class="description-truncated"] | //p[@class="description-truncated"]/following-sibling::*
|
||||
postProcess:
|
||||
- replace:
|
||||
- regex: \s*\.{3}
|
||||
with: ""
|
||||
Image:
|
||||
selector: //div[@class="imageContainer"]//img/@data-src
|
||||
Studio: &studio
|
||||
Name:
|
||||
fixed: PlayboyPlus
|
||||
galleryScraper:
|
||||
gallery:
|
||||
Title: *title
|
||||
Date: *date
|
||||
Performers: *performers
|
||||
Photographer: //p[@class="contributorName"]//a[contains(@href, "photographer")]
|
||||
Details: *details
|
||||
Studio: *studio
|
||||
# Last Updated March 27, 2023
|
||||
9
stash/config/scrapers/community/PlayboyPlus/manifest
Executable file
9
stash/config/scrapers/community/PlayboyPlus/manifest
Executable file
@@ -0,0 +1,9 @@
|
||||
id: PlayboyPlus
|
||||
name: PlayboyPlus
|
||||
metadata: {}
|
||||
version: 21b0dcd
|
||||
date: "2024-01-21 02:54:58"
|
||||
requires: []
|
||||
source_repository: https://stashapp.github.io/CommunityScrapers/stable/index.yml
|
||||
files:
|
||||
- PlayboyPlus.yml
|
||||
Reference in New Issue
Block a user