Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add BondageJunkies.yml #2187

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
56 changes: 56 additions & 0 deletions scrapers/BondageJunkies.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
name: BondageJunkies
sceneByURL:
- action: scrapeXPath
url:
- bondagejunkies.com/updates
scraper: sceneScraper

xPathScrapers:
sceneScraper:
common:
$performerTitle: //div[@id="wide-content"]/div/h1/text()
$idDate: //p[@class="byliner"]/text()[1]
scene:
Title:
selector: $performerTitle
Code:
selector: $idDate
postProcess:
- replace:
- regex: '#(\d+).*'
with: $1
Date:
selector: $idDate
postProcess:
- replace:
- regex: .*(\d{4}-\d{2}-\d{2})
with: $1
Details:
selector: //p[@class="updatedesc"]/text()
Performers:
Name:
selector: $performerTitle
postProcess:
- replace:
- regex: (.*) vs\.? (.*)
with: $1
split: " & "
Tags:
Name:
selector: //p[@class="titletags"]/text()
split: ", "
Studio:
Name:
fixed: Bondage Junkies
Image:
selector: //div[@id="wide-content"]//img[1]/@src
postProcess:
- replace:
- regex: ^
with: https://bondagejunkies.com
URL:
selector: //div[@id="wide-content"]//a[@class="updatebtn"][2]/@href
postProcess:
- replace:
- regex: /join
with: