Skip to content

Commit

Permalink
Update MaxHardcore for new site layout
Browse files Browse the repository at this point in the history
Closes #1960 and #1961
  • Loading branch information
Maista6969 committed Aug 7, 2024
1 parent e3470cc commit 66a96c8
Showing 1 changed file with 9 additions and 13 deletions.
22 changes: 9 additions & 13 deletions scrapers/MaxHardcore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,32 +2,28 @@ name: Max-Hardcore
sceneByURL:
- action: scrapeXPath
url:
- max-hardcore.com
- max-hardcore.com/video/
scraper: sceneScraper
xPathScrapers:
sceneScraper:
scene:
Title:
selector: //h1[@class="title"]
selector: //header/h1
postProcess:
- replace:
- regex: "FREE PREVIEW -"
with: ""
Performers:
Name: //strong[contains(text(),"Performers:")]/following-sibling::a/text()
Name: //ul[@class="tag-list"]//a[contains(@href, "/pornstars/")]
Tags:
Name: //strong[contains(text(),"Category:")]/following-sibling::a/text()
Details: //div[@class="description"]/p
Image:
selector: //a[@href="https://www.max-hardcore.com/signup"][1]/img/@src
Name: //ul[@class="tag-list"]//a[contains(@href, "/channels/")]
Details: //div[@class="description__inner"]
Image: //div[contains(@class, "preview-thumbs")]/img/@src
Studio:
Name:
fixed: Max-Hardcore
Date:
selector: //strong[contains(text(),"Added:")]/following-sibling::text()
selector: //span[span[contains(@class, "calendar")]]/../span[contains(@class, "label")]
postProcess:
- replace:
- regex: (\d+).+
with: $1
- subtractDays: true
# Last Updated May 17, 2021
- parseDate: "2006-01-02 15:04:05"
# Last Updated August 07, 2024

0 comments on commit 66a96c8

Please sign in to comment.