stash
This commit is contained in:
9
stash/config/scrapers/community/nhentai/manifest
Executable file
9
stash/config/scrapers/community/nhentai/manifest
Executable file
@@ -0,0 +1,9 @@
|
||||
id: nhentai
|
||||
name: nhentai
|
||||
metadata: {}
|
||||
version: "4110259"
|
||||
date: "2020-10-29 18:50:47"
|
||||
requires: []
|
||||
source_repository: https://stashapp.github.io/CommunityScrapers/stable/index.yml
|
||||
files:
|
||||
- nhentai.yml
|
||||
38
stash/config/scrapers/community/nhentai/nhentai.yml
Normal file
38
stash/config/scrapers/community/nhentai/nhentai.yml
Normal file
@@ -0,0 +1,38 @@
|
||||
name: nhentai
|
||||
galleryByURL:
|
||||
- action: scrapeXPath
|
||||
url:
|
||||
- nhentai.net/g/
|
||||
scraper: galleryScraper
|
||||
xPathScrapers:
|
||||
galleryScraper:
|
||||
gallery:
|
||||
Title:
|
||||
selector: //h1[@class="title"]/span
|
||||
concat: " "
|
||||
Details:
|
||||
selector: //h2[@class="title"]/span
|
||||
concat: " "
|
||||
URL:
|
||||
selector: //div[@id="bigcontainer"]/div[@id="cover"]/a/@href
|
||||
postProcess:
|
||||
- replace:
|
||||
- regex: (.+\/)(.+)
|
||||
with: $1
|
||||
- regex: ^
|
||||
with: https://nhentai.net
|
||||
Date:
|
||||
selector: //div[contains(@class,"tag-container") and contains(.,"Uploaded:")]//time/@datetime
|
||||
postProcess:
|
||||
- replace:
|
||||
- regex: (\d{4}-\d{2}-\d{2})(.+)
|
||||
with: $1
|
||||
- parseDate: 2006-01-02
|
||||
Tags:
|
||||
Name: //div[contains(@class,"tag-container") and contains(.,"Tags:")]//span[@class="name"]/text()
|
||||
Performers:
|
||||
Name: //div[contains(@class,"tag-container") and contains(.,"Characters:")]//span[@class="name"]/text()
|
||||
Studio:
|
||||
Name: //div[contains(@class,"tag-container") and contains(.,"Artists:")]//span[@class="name"]/text()
|
||||
|
||||
# Last Updated October 24, 2020
|
||||
Reference in New Issue
Block a user