Add HobbyPorn (#1594)

* Add HobbyPorn

* Improve multiple Performers and Studio for HobbyPorn

* Add preparation for multiple urls for HobbyPorn
This commit is contained in:
IAmKontrast 2024-01-05 19:22:02 +01:00 committed by GitHub
parent 4b8c2a6843
commit a3c99e11d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 41 additions and 0 deletions

View File

@ -693,6 +693,7 @@ hijabmylfs.com|PaperStreetMedia.yml|:heavy_check_mark:|:x:|:x:|:x:|-|-
himeros.tv|HimerosTV.yml|:heavy_check_mark:|:x:|:x:|:x:|-|Gay
hitzefrei.com|Hitzefrei.yml|:heavy_check_mark:|:x:|:x:|:heavy_check_mark:|-|-
hmvmania.com|HmvMania.yml|:heavy_check_mark:|:x:|:x:|:x:|-|-
hobby.porn|HobbyPorn.yml|:heavy_check_mark:|:x:|:x:|:x:|-|Free Porn Archive
hobybuchanon.com|HobyBuchanon.yml|:heavy_check_mark:|:x:|:x:|:x:|-|-
holed.com|AMAMultimedia.yml|:heavy_check_mark:|:x:|:x:|:x:|-|-
hollyrandall.com|HollyRandall.yml|:heavy_check_mark:|:x:|:x:|:x:|-|-

40
scrapers/HobbyPorn.yml Normal file
View File

@ -0,0 +1,40 @@
name: HobbyPorn
sceneByURL:
- action: scrapeXPath
url:
- hobby.porn
scraper: sceneScraper
sceneByQueryFragment:
action: scrapeXPath
queryURL: "{url}"
scraper: sceneScraper
sceneByName:
action: scrapeXPath
queryURL: https://hobby.porn/search/{}/
scraper: sceneSearch
xPathScrapers:
sceneScraper:
scene:
Title: //div[@class="title-block"]/h1
Performers:
Name: //span[@itemprop="author" or @itemprop="actor"]/a
Studio:
Name: //span[@itemprop="author"]/a
Date:
selector: //div[@class="video-data"]/span/text()[contains(.,'/')]
postProcess:
- parseDate: 01/02/2006
Tags:
Name: //a[@itemprop="genre"]/text()
URL: //link[@itemprop="url"]/@href # gets the hobby.porn url
# Possible update once XPath scraper handles multiple urls
# //div[@class="player"]//a/@href gets the pornhub url
Image: //span[@itemprop="thumbnail"]/link/@href
sceneSearch:
common:
$scenecard: //div[contains(@class,"item item-video")]
scene:
Title: $scenecard//div[@class="item-title"]
URL: $scenecard//a/@href
Image: $scenecard//img/@src
# Last Updated January 05, 2024