stash
This commit is contained in:
43
stash/config/scrapers/community/HQPorner/HQPorner.yml
Normal file
43
stash/config/scrapers/community/HQPorner/HQPorner.yml
Normal file
@@ -0,0 +1,43 @@
|
||||
name: "HQPorner"
|
||||
sceneByURL:
|
||||
- action: scrapeXPath
|
||||
url:
|
||||
- hqporner.com/hdporn
|
||||
scraper: sceneScraper
|
||||
xPathScrapers:
|
||||
sceneScraper:
|
||||
scene:
|
||||
#Title: //h1[@class='main-h1']/text()
|
||||
Title:
|
||||
selector: //title
|
||||
postProcess:
|
||||
- replace:
|
||||
- regex: (.*)-.*
|
||||
with: $1
|
||||
Tags:
|
||||
Name: //a[@class='tag-link click-trigger']/text()
|
||||
Performers:
|
||||
Name:
|
||||
selector: //li[@class='icon fa-star-o']/a[@class='click-trigger']/text()
|
||||
Studio:
|
||||
Name:
|
||||
selector: //section[@class='hq-logo']/h3/a[@class='click-trigger']
|
||||
postProcess:
|
||||
- map:
|
||||
HQPORNER: HQPorner
|
||||
Image:
|
||||
selector: //iframe[@width="560"]/@src
|
||||
postProcess:
|
||||
- replace: &https
|
||||
- regex: ^//
|
||||
with: "https://"
|
||||
- subScraper:
|
||||
selector: //video/@poster|//script[contains(.,"poster=")]
|
||||
postProcess:
|
||||
- replace:
|
||||
- regex: '.*poster=\\"([^\\]+).+'
|
||||
with: $1
|
||||
- replace: *https
|
||||
driver:
|
||||
useCDP: true
|
||||
# Last Updated March 15, 2024
|
||||
Reference in New Issue
Block a user