From 596c45f1d682666fe016c1aefc8b43fb0ce7f3d8 Mon Sep 17 00:00:00 2001 From: ilike2burnthing <59480337+ilike2burnthing@users.noreply.github.com> Date: Sun, 26 Sep 2021 21:22:37 +0100 Subject: [PATCH] pornoslab: add new public indexer. resolves #12336 (#12337) --- README.md | 1 + src/Jackett.Common/Definitions/pornoslab.yml | 98 ++++++++++++++++++++ 2 files changed, 99 insertions(+) create mode 100644 src/Jackett.Common/Definitions/pornoslab.yml diff --git a/README.md b/README.md index 1b625b1bd..1d820068e 100644 --- a/README.md +++ b/README.md @@ -108,6 +108,7 @@ A third-party Golang SDK for Jackett is available from [webtor-io/go-jackett](ht * PornLeech * PornoLive * PornoRip + * PornosLab * PornoTor * Portugas * ProPorn diff --git a/src/Jackett.Common/Definitions/pornoslab.yml b/src/Jackett.Common/Definitions/pornoslab.yml new file mode 100644 index 000000000..1b3950bfb --- /dev/null +++ b/src/Jackett.Common/Definitions/pornoslab.yml @@ -0,0 +1,98 @@ +--- +id: pornoslab +name: PornosLab +description: "PornosLab is a Public Tracker for 3X" +language: en-US +type: public +encoding: UTF-8 +links: + - https://pornoslab.com/ + +caps: + categorymappings: + - {id: 1, cat: XXX, desc: "Main"} + + modes: + search: [q] + +settings: + - name: sort + type: select + label: Sort requested from site + default: date + options: + date: created + title: title + - name: type + type: select + label: Order requested from site + default: desc + options: + desc: desc + asc: asc + +download: + selectors: + - selector: a[href^="magnet:?xt="] + attribute: href + +search: + # https://pornoslab.com/index.php?do=search&subaction=search&search_start=0&full_search=1&result_from=1&story=2021&all_word_seach=1&titleonly=0&searchdate=0&searchuser=&exactname=&replyless=0&replylimit=0&searchdate=0&beforeafter=after&sortby=date&resorder=desc&showposts=0&catlist[]=1 + paths: + - path: index.php + inputs: + $raw: "{{ range .Categories }}catlist[]={{.}}&{{end}}" + do: search + subaction: search + search_start: 0 + full_search: 1 + result_from: 1 + story: "{{ if .Keywords }}{{ .Keywords }}{{ else }}{{ .Today.Year }}{{ end }}" + all_word_seach: 1 + # 0 article, 1 comments, 2 static pages, 3 article titles + titleonly: "{{ if .Keywords }}3{{ else }}0{{ end }}" + searchdate: 0 + searchuser: "" + exactname: "" + replyless: 0 + replylimit: 0 + searchdate: 0 + beforeafter: after + sortby: "{{ .Config.sort }}" + resorder: "{{ .Config.type }}" + showposts: 0 + + rows: + selector: div[id="mcontent_inner_box"]:has(span[class="storytitle"]) + + fields: + category: + selector: span[class="copy"] a + case: + ":contains(\"Main\")": 1 + title: + selector: span[class="storytitle"] a + details: + selector: span[class="storytitle"] a + attribute: href + download: + selector: span[class="storytitle"] a + attribute: href + poster: + selector: img + attribute: src + description: + selector: div[class="article"] table tbody tr td div + date: + text: now + seeders: + text: 1 + leechers: + text: 1 + size: + text: "512 MB" + downloadvolumefactor: + text: 0 + uploadvolumefactor: + text: 1 +# engine n/a