From 77d5d6012be263bb34c7a3991d4268f23b30c795 Mon Sep 17 00:00:00 2001 From: Maista6969 Date: Sun, 26 Nov 2023 17:31:05 +0100 Subject: [PATCH] Fix titles scraped from Sexmex The trailing performer name is not part of the title: 'Title of Scene . PerformerName' should just be 'Title of Scene' --- scrapers/SexMex.yml | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/scrapers/SexMex.yml b/scrapers/SexMex.yml index 72f1fcf11..29bcba176 100644 --- a/scrapers/SexMex.yml +++ b/scrapers/SexMex.yml @@ -1,4 +1,4 @@ -name: "SexMex" +name: SexMex sceneByURL: &byUrl - action: scrapeXPath @@ -10,10 +10,15 @@ 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 @@ -21,18 +26,17 @@ xPathScrapers: 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