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,77 @@
name: "Rule34Video"
sceneByURL:
- action: scrapeXPath
url:
- rule34video.com/videos/
- rule34video.com/video/
scraper: sceneScraper
sceneByName:
action: scrapeXPath
queryURL: https://rule34video.com/search/{}
scraper: sceneSearch
sceneByQueryFragment:
action: scrapeXPath
queryURL: "{url}"
scraper: sceneScraper
xPathScrapers:
sceneSearch:
common:
$searchItem: //div[contains(@class,"item thumb video_")]
scene:
Title: $searchItem/a[@class="th js-open-popup"]/@title
URL: $searchItem/a[@class="th js-open-popup"]/@href
Image: $searchItem//img/@data-original
sceneScraper:
common:
$article: //div[@class="video_tools"]
scene:
URL: //link[@rel='canonical']/@href
Title: //div[@class="heading"]//h1
Details: //div[@class="video_tools"]//div[contains(text(),"Description:")]/em
Date:
selector: //script[@type="application/ld+json"]
postProcess:
- replace:
- regex: '.+uploadDate": "([^"]+)".+'
with: $1
Image:
selector: //script[@type="application/ld+json"]
postProcess:
- replace:
- regex: '.+thumbnailUrl": "(http[^"]+)".+'
with: $1
Tags:
Name:
selector: //div[@class="video_tools"]//div[text()="Categories:" or text()="Tags:"]/following-sibling::a//text()
postProcess:
- replace:
- regex: '^\+.+Suggest$'
with: ""
Studio:
Name: //div[@class="video_tools"]//div[text()="Artist:"]/following-sibling::a/span
URL: //div[@class="video_tools"]//div[text()="Artist:"]/following-sibling::a/@href
debug:
printHTML: true
driver:
headers:
- Key: User-Agent
Value: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:79.0) Gecko/20100101 Firefox/79.0)
cookies:
- CookieURL: "https://rule34video.com/"
Cookies:
- Name: kt_rt_popAccess
Value: "1"
Domain: .rule34video.com
Path: /
- Name: kt_tcookie
Value: "1"
Domain: .rule34video.com
Path: /
- Name: cf_clearance
ValueRandom: 43
Domain: .rule34video.com
Path: /
# Last Updated September 29, 2023

View File

@@ -0,0 +1,9 @@
id: Rule34Video
name: Rule34Video
metadata: {}
version: 04bb84e
date: "2024-02-20 10:06:24"
requires: []
source_repository: https://stashapp.github.io/CommunityScrapers/stable/index.yml
files:
- Rule34Video.yml