This commit is contained in:
Christoph Califice
2025-10-09 20:05:31 -03:00
parent ed22ef22bc
commit 0a5f88d75a
1442 changed files with 101562 additions and 0 deletions

View File

@@ -0,0 +1,101 @@
name: MyDirtyHobby
sceneByURL:
- action: scrapeXPath
url:
- mydirtyhobby.com/profil/
scraper: sceneScraper
xPathScrapers:
sceneScraper:
common:
$script: //script[contains(text(),"profile_page")]/text()
scene:
Title:
selector: $script
postProcess:
- replace:
- regex: '.*"title":{"text":"([^"]+)"},"subtitle".*'
with: $1
- regex: '\\u00df'
with: "ß"
- regex: '\\u00e4'
with: "ä"
- regex: '\\u00f6'
with: "ö"
- regex: '\\u00fc'
with: "ü"
- regex: '\\u00c4'
with: "Ä"
- regex: '\\u00d6'
with: "Ö"
- regex: '\\u00dc'
with: "Ü"
Details:
selector: $script
postProcess:
- replace:
- regex: '.*"description":{"text":"(.+)","moreText.*'
with: $1
- regex: "'"
with: "'"
- regex: '<a[^>]+>([^<]+)<\\/a>' #anchors
with: "$1"
- regex: '\\u00df'
with: "ß"
- regex: '\\u00e4'
with: "ä"
- regex: '\\u00f6'
with: "ö"
- regex: '\\u00fc'
with: "ü"
- regex: '\\u00c4'
with: "Ä"
- regex: '\\u00d6'
with: "Ö"
- regex: '\\u00dc'
with: "Ü"
Date:
selector: $script
postProcess:
- replace:
- regex: '.*"subtitle":{"text":"([^"]+)"},"rating".*'
with: $1
- parseDate: 02 Jan 2006
Performers:
Name:
selector: $script
postProcess:
- replace:
- regex: '.*"thumbImg":{"title":"([^"]+)".*'
with: $1
Tags:
Name:
selector: $script
postProcess:
- replace:
- regex: '.*"Categories","items":\[([^]]+)\].*'
with: $1
- regex: '{"text":"([^"]+)","href":"[^"]+"}'
with: $1
split: ","
Image:
selector: $script
postProcess:
- replace:
- regex: '.*?"thumbnail":\s*{[^}]+"src":\s*"([^"]+)".*'
with: $1
- regex: '\\/'
with: "/"
Studio:
Name:
fixed: My Dirty Hobby
driver:
cookies:
- CookieURL: "https://www.mydirtyhobby.com"
Cookies:
- Name: "AGEGATEPASSED"
Domain: ".mydirtyhobby.com"
Value: "1"
Path: "/"
# Last Updated October 02, 2023

View File

@@ -0,0 +1,9 @@
id: MyDirtyHobby
name: MyDirtyHobby
metadata: {}
version: 1c1674b
date: "2023-10-02 06:33:26"
requires: []
source_repository: https://stashapp.github.io/CommunityScrapers/stable/index.yml
files:
- MyDirtyHobby.yml