Skip to content

Commit

Permalink
jackett indexers as of c5c1a56bf0e0b5d628bec6f01d468b7c653f1e91
Browse files Browse the repository at this point in the history
  • Loading branch information
mynameisbogdan committed Sep 29, 2023
1 parent c817059 commit 156fe6b
Show file tree
Hide file tree
Showing 8 changed files with 260 additions and 254 deletions.
3 changes: 2 additions & 1 deletion definitions/v7/hdarea.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@ language: zh-CN
type: private
encoding: UTF-8
links:
- https://www.hdarea.club/
- https://hdarea.club/
legacylinks:
- https://www.hdarea.co/
- https://www.hdarea.club/

caps:
categorymappings:
Expand Down
7 changes: 6 additions & 1 deletion definitions/v7/piratbit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ description: "PirateBit is a RUSSIAN Public Torrent Tracker for MOVIES / TV / GE
language: ru-RU
type: public
encoding: UTF-8
requestDelay: 2
links:
- https://pb.wtf/
- https://top.pirat.one/
Expand Down Expand Up @@ -645,7 +646,7 @@ download:

search:
paths:
- path: tracker.php
- path: tracker/
method: post
inputs:
$raw: "{{ if .Categories }}{{ range .Categories }}f[]={{.}}&{{end}}{{ else }}f[]=-1{{ end }}"
Expand Down Expand Up @@ -680,6 +681,10 @@ search:
- name: re_replace # S01E02 to сезон 1 сери 2
args: ["(?i)\\bS0*(\\d+)E0*(\\d+)\\b", "сезон $1 сери $2"]

headers:
# site blocks Jackett's Linux User-Agents, so use Windows instead
User-Agent: ["Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36"]

rows:
selector: tr[id^="tor_"]:not(:has(span[title="закрыто"])):not(:has(span[title="неоформлено"]))

Expand Down
35 changes: 20 additions & 15 deletions definitions/v7/piratbitl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ description: "PirateBit is a RUSSIAN Public Torrent Tracker for MOVIES / TV / GE
language: ru-RU
type: semi-private
encoding: UTF-8
requestDelay: 2
links:
- https://pb.wtf/
- https://top.pirat.one/
Expand Down Expand Up @@ -605,12 +606,20 @@ caps:
book-search: [q]

settings:
- name: username
- name: cookie
type: text
label: Username
- name: password
type: password
label: Password
label: Cookie
- name: info
type: info
label: How to get the Cookie
default: "<ol><li>Login to this tracker with your browser</li><li>Open the <b>DevTools</b> panel by pressing <b>F12</b></li><li>Select the <b>Network</b> tab</li><li>Click on the <b>Doc</b> button (Chrome Browser) or <b>HTML</b> button (FireFox)</li><li>Refresh the page by pressing <b>F5</b></li><li>Click on the first row entry</li><li>Select the <b>Headers</b> tab on the Right panel</li><li>Find <b>'cookie:'</b> in the <b>Request Headers</b> section</li><li><b>Select</b> and <b>Copy</b> the whole cookie string <i>(everything after 'cookie: ')</i> and <b>Paste</b> here.</li></ol>"
- name: useragent
type: text
label: User-Agent
- name: info_useragent
type: info
label: How to get the User-Agent
default: "<ol><li>From the same place you fetched the cookie,</li><li>Find <b>'user-agent:'</b> in the <b>Request Headers</b> section</li><li><b>Select</b> and <b>Copy</b> the whole user-agent string <i>(everything after 'user-agent: ')</i> and <b>Paste</b> here.</li></ol>"
- name: stripcyrillic
type: checkbox
label: Strip Cyrillic Letters
Expand Down Expand Up @@ -640,23 +649,16 @@ settings:
1: asc

login:
path: login.php
method: post
method: cookie
inputs:
"login_username": "{{ .Config.username }}"
"login_password": "{{ .Config.password }}"
autologin: 1
login: Вход
redirect: /
error:
- selector: table tr td div.alert
cookie: "{{ .Config.cookie }}"
test:
path: index.php
selector: li a[href="/login.php?logout=1"]

search:
paths:
- path: tracker.php
- path: tracker/
method: post
inputs:
$raw: "{{ if .Categories }}{{ range .Categories }}f[]={{.}}&{{end}}{{ else }}f[]=-1{{ end }}"
Expand Down Expand Up @@ -692,6 +694,9 @@ search:
- name: re_replace # S01E02 to сезон 1 сери 2
args: ["(?i)\\bS0*(\\d+)E0*(\\d+)\\b", "сезон $1 сери $2"]

headers:
User-Agent: ["{{ .Config.useragent }}"]

rows:
selector: tr[id^="tor_"]:has(a[href^="/dl.php?id="])

Expand Down
177 changes: 0 additions & 177 deletions definitions/v7/the-crazy-ones.yml

This file was deleted.

Loading

0 comments on commit 156fe6b

Please sign in to comment.