add ehentai a public site. resolves #8348

This commit is contained in:
Garfield69 2020-04-28 12:03:26 +12:00
parent 3812159d48
commit 82b3742381
2 changed files with 64 additions and 0 deletions

View File

@ -49,6 +49,7 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/
* cpasbienClone
* Demonoid
* dmhy
* E-Hentai
* EliteTorrent.biz
* Epizod
* EstrenosDTL

View File

@ -0,0 +1,63 @@
---
site: ehentai
name: E-Hentai
description: "E-Hentai is a Public site for Hentai doujinshi, manga."
language: en-us
type: public
encoding: UTF-8
links:
- https://e-hentai.org/
settings: []
caps:
categorymappings:
- {id: 1, cat: TV/Anime, desc: "Anime"}
modes:
search: [q]
tv-search: [q, season, ep]
download:
selector: a[href*="/get/"]
attribute: href
search:
paths:
- path: "torrents.php{{ if .Keywords }}?search={{ .Keywords }}{{else}}{{end}}"
- path: "torrents.php{{ if .Keywords }}?search={{ .Keywords }}&page=1{{else}}?page=1{{end}}"
rows:
selector: table.itg > tbody > tr:has(td)
fields:
category:
text: 1
title:
selector: a[href*="/gallerytorrents.php?gid="]
details:
selector: a[href*="/g/"]
attribute: href
download:
selector: a[href*="/gallerytorrents.php?gid="]
attribute: href
date:
selector: td:first-child
filters:
- name: append
args: " +00:00"
- name: dateparse
args: "2006-01-02 15:04 -07:00"
size:
selector: td:nth-child(4)
seeders:
selector: td:nth-child(5)
leechers:
selector: td:nth-child(6)
grabs:
selector: td:nth-child(7)
downloadvolumefactor:
text: 0
uploadvolumefactor:
text: 1
# engine n/a