31 lines
941 B
YAML
31 lines
941 B
YAML
name: "PlayboyTV"
|
|
sceneByURL:
|
|
- action: scrapeXPath
|
|
url:
|
|
- playboy.tv/watch/
|
|
scraper: sceneScraper
|
|
xPathScrapers:
|
|
sceneScraper:
|
|
scene:
|
|
Title: //h2[@class="title"]/text()
|
|
Date:
|
|
selector: //small[@class="subtitle"]/text()
|
|
postProcess:
|
|
- replace:
|
|
- regex: .+(?:• Added on )(.+)
|
|
with: $1
|
|
# Date is not always present, but when it is, it is in a set format in
|
|
# the description field
|
|
- parseDate: 02 January 2006
|
|
Details:
|
|
selector: //small[@class="subtitle"]/text()
|
|
postProcess:
|
|
- replace:
|
|
- regex: (.+)(?:• Added on )(?:.+)
|
|
with: $1
|
|
# The field sometimes, has a description, sometimes has episode details.
|
|
# When it has episode details, the date can be stripped out.
|
|
Image: //video[@id="video"]/@poster
|
|
|
|
# Last Updated November 08, 2020
|