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