Skip to content

Commit

Permalink
Fix titles scraped from Sexmex
Browse files Browse the repository at this point in the history
The trailing performer name is not part of the title:
'Title of Scene . PerformerName' should just be 'Title of Scene'
  • Loading branch information
Maista6969 committed Nov 26, 2023
1 parent 67a250d commit 77d5d60
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions scrapers/SexMex.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "SexMex"
name: SexMex

sceneByURL: &byUrl
- action: scrapeXPath
Expand All @@ -10,29 +10,33 @@ galleryByURL: *byUrl
xPathScrapers:
sceneScraper:
scene:
Title: &title //div[@class="panel-body"]/h4//text()
Title: &title
selector: //div[@class="panel-body"]/h4//text()
postProcess:
- replace:
- regex: (.*) \..*$
with: $1
Details: &details //div[@class="panel-body"]/p[not(@class)]
Tags: &tags
Name:
Name:
selector: //meta[@name="keywords"]/@content
split: ","
Performers: &performers
Name: //div[@class="panel-body"]/p[@class="cptn-model"]/a//text()
Studio: &studio
Name:
fixed: Sex Mex
Image:
Image:
selector: //video/@poster
postProcess:
- replace:
- regex: cover.jpg$
with: 1.jpg

gallery:
Title: *title
Details: *details
Tags: *tags
Performers: *performers
Studio: *studio

# Last Updated February 14, 2022
# Last Updated November 26, 2023

0 comments on commit 77d5d60

Please sign in to comment.