From dda62f1e181f3a1c644438776b0c422831108178 Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Mon, 2 Mar 2020 09:43:40 +1300 Subject: [PATCH] add onejav a public Asian 3x site. resolves #7345 --- README.md | 1 + src/Jackett.Common/Definitions/onejav.yml | 76 +++++++++++++++++++++++ 2 files changed, 77 insertions(+) create mode 100644 src/Jackett.Common/Definitions/onejav.yml diff --git a/README.md b/README.md index 0f3c2e074..ab77f0dbc 100644 --- a/README.md +++ b/README.md @@ -89,6 +89,7 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/ * NoName Club (NNM-Club) * Nyaa.si * Nyaa-Pantsu + * OneJAV * OxTorrent * PiratBit * Pirateiro diff --git a/src/Jackett.Common/Definitions/onejav.yml b/src/Jackett.Common/Definitions/onejav.yml new file mode 100644 index 000000000..32e41f3fa --- /dev/null +++ b/src/Jackett.Common/Definitions/onejav.yml @@ -0,0 +1,76 @@ +--- + site: onejav + name: OneJAV + description: "OneJAV is a Public tracker for Asian 3X (JAV)" + language: en + type: public + encoding: UTF-8 + links: + - https://onejav.com/ + + caps: + categories: + XXX: XXX + + modes: + search: [q] + + settings: [] + + 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 + banner: + selector: img + attribute: src + actress: + text: "" + actress: + selector: a[href^="/actress/"] + optional: true + filters: + - name: prepend + args: "Actress: " + tags: + selector: div.tags + filters: + - name: prepend + args: "Tags: " + description: + selector: p.level + filters: + - name: append + args: "
{{ .Result.actress }}
{{ .Result.tags }}" + date: + selector: p.is-6 > a + attribute: href + filters: + - name: dateparse + args: "/2006/01/02" + size: + selector: span.is-size-6 + seeders: + text: 1 + leechers: + text: 1 + downloadvolumefactor: + text: 0 + uploadvolumefactor: + text: 1 +# engine n/a