mirror of
https://github.com/stashapp/CommunityScrapers.git
synced 2025-12-10 17:32:09 -06:00
Add xPath scene scraper for cockhero.info (#1174)
This commit is contained in:
parent
582d022b75
commit
171566ac19
@ -245,6 +245,7 @@ clubelegantangel.com|ClubElegantAngel.yml|:heavy_check_mark:|:x:|:heavy_check_ma
|
||||
clubinfernodungeon.com|Algolia_ClubInfernoDungeon.yml|:heavy_check_mark:|:x:|:x:|:x:|-|Gay
|
||||
clubseventeen.com|ClubSeventeen.yml|:heavy_check_mark:|:heavy_check_mark:|:x:|:x:|-|-
|
||||
clubsweethearts.com|ClubSeventeen.yml|:heavy_check_mark:|:heavy_check_mark:|:x:|:x:|-|-
|
||||
cockhero.info|Cockhero.yml|:heavy_check_mark:|:x:|:x:|:x:|-|-
|
||||
colette.com|Colette.yml|:heavy_check_mark:|:heavy_check_mark:|:x:|:x:|-|-
|
||||
college-amateurs.com|ChickPass.yml|:heavy_check_mark:|:x:|:x:|:x:|-|-
|
||||
college-uniform.com|CollegeUniform.yml|:heavy_check_mark:|:heavy_check_mark:|:x:|:x:|-|-
|
||||
|
||||
39
scrapers/Cockhero.yml
Normal file
39
scrapers/Cockhero.yml
Normal file
@ -0,0 +1,39 @@
|
||||
name: Cockhero
|
||||
sceneByURL:
|
||||
- action: scrapeXPath
|
||||
url:
|
||||
- cockhero.info
|
||||
scraper: sceneScraper
|
||||
sceneByName:
|
||||
action: scrapeXPath
|
||||
queryURL: https://www.cockhero.info/?s={}
|
||||
scraper: chSearch
|
||||
sceneByQueryFragment:
|
||||
action: scrapeXPath
|
||||
queryURL: "{url}"
|
||||
scraper: sceneScraper
|
||||
|
||||
xPathScrapers:
|
||||
chSearch:
|
||||
common:
|
||||
$card: //*[@id="main-content"]//article[contains(@class, "item-list")]
|
||||
scene:
|
||||
Title: $card/h2[@class="post-title"]/a
|
||||
URL: $card/h2[@class="post-title"]/a/@href
|
||||
Image: $card//div[@class="mlib-list-image"]/img/@src
|
||||
|
||||
sceneScraper:
|
||||
common:
|
||||
$id: //*[@id="the-post"]
|
||||
scene:
|
||||
Title: $id/div/h1/span
|
||||
Date:
|
||||
selector: $id/div/p/span[@class="tie-date"]
|
||||
postProcess:
|
||||
- parseDate: January _2, 2006
|
||||
Image: $id//div[@class="mlib-list-image"]/img/@src
|
||||
Studio:
|
||||
Name: $id//li[div="Author"]/div[contains(@class,"value")]/a
|
||||
Tags:
|
||||
Name: //*[@id="main-content"]//p[@class="post-tag"]/a
|
||||
# Last Updated November 11, 2022
|
||||
Loading…
x
Reference in New Issue
Block a user