Skip to content

Commit 20d9851

Browse files
authored
Merge pull request #2544 from Larsluph/milkyperu
Add MilkyPeru scraper
2 parents 2cc08cd + cbc150e commit 20d9851

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

scrapers/MilkyPeru.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# yaml-language-server: $schema=https://raw.githubusercontent.com/stashapp/CommunityScrapers/refs/heads/master/validator/scraper.schema.json
2+
name: "Milky Peru"
3+
sceneByURL:
4+
- action: scrapeXPath
5+
url:
6+
- milkyperu.com
7+
scraper: milkyperu
8+
9+
xPathScrapers:
10+
milkyperu:
11+
scene:
12+
Title:
13+
selector: //meta[@property = "og:title"]/@content
14+
postProcess:
15+
- replace:
16+
- regex: "[. -]+$"
17+
with: ""
18+
URLs: //meta[@property = "og:url"]/@content
19+
Date:
20+
selector: //meta[@property = "article:published_time"]/@content
21+
postProcess:
22+
- parseDate: 2006-01-02T15:04:05-07:00
23+
Details: //div[@data-elementor-type="wp-post"]//div[@class="elementor-widget-container"]/h2[contains(@class, "elementor-heading-title")]//text()
24+
Studio:
25+
Name: //meta[@property = "og:site_name"]/@content
26+
Image: //meta[@property = "og:image"]/@content

0 commit comments

Comments
 (0)