1
0
mirror of https://github.com/Prowlarr/Indexers.git synced 2026-04-26 19:34:16 +01:00
Files
Indexers/definitions/v3/onejav.yml
Qstick e07c451080 New: YAML Schema Validations (#206)
* New: YAML Schema Validations

* fixup! skip json when doing ymllint

* fixup!

* fixup!

* fixup!

* fixup!

* fixup! validate login methods, filter names, captcha types

* fixup! validate tracker type

* fixup! validate tracker type

* fixup! validate category mappings use a correct category

* fixup! further download block validation

* fixup!

* fixup! validate links and legacy-links are valid urls

* fixup! validate settings types

* fixup! v6 doubanid

* fixup! v5 json filter validation

* fixup! xbit should be v5
2022-06-24 21:01:47 -05:00

82 lines
1.9 KiB
YAML

---
id: onejav
name: OneJAV
description: "OneJAV is a Public tracker for Asian 3X (JAV)"
language: en-US
type: public
encoding: UTF-8
links:
- https://onejav.com/
caps:
categories:
XXX: XXX
modes:
search: [q]
settings:
- name: flaresolverr-onejav
type: info
label: FlareSolverr
default: This site may use Cloudflare DDoS Protection, therefore Jackett requires <a href="https://github.com/Jackett/Jackett#configuring-flaresolverr" target="_blank">FlareSolverr</a> to access it.<br><br>If you have issues downloading, perform a keyword search (e.g. <b>video</b>) so FlareSolverr can grab new cookies.
search:
paths:
- path: "{{ if .Keywords }}search/{{ .Keywords }}{{ else }}new{{ end }}"
- path: "{{ if .Keywords }}search/{{ .Keywords }}{{ else }}new{{ end }}?page=2"
rows:
selector: div.mb-3
fields:
category:
text: XXX
title:
selector: a[href^="/torrent/"]
details:
selector: a[href^="/torrent/"]
attribute: href
download:
selector: a[href*="/download/"]
attribute: href
poster:
selector: img
attribute: src
_actress:
selector: a[href^="/actress/"]
optional: true
filters:
- name: prepend
args: "Actress: "
_tags:
selector: div.tags
optional: true
filters:
- name: prepend
args: "Tags: "
_descr:
selector: p.level
optional: true
description:
text: "{{ .Result._descr }}</br>{{ .Result._actress }}</br>{{ .Result._tags }}"
date:
selector: p.is-6 > a
attribute: href
filters:
- name: append
args: " -07:00" # PDT
- name: dateparse
args: "/2006/01/02 -07:00"
size:
selector: span.is-size-6
seeders:
text: 1
leechers:
text: 1
downloadvolumefactor:
text: 0
uploadvolumefactor:
text: 1
# engine n/a