Skip to content

Commit

Permalink
jackett indexers as of 188905f0b9803fa8cc25224fc7ee3ee739a65bb9
Browse files Browse the repository at this point in the history
  • Loading branch information
bakerboy448 committed May 17, 2024
1 parent 7b31a6d commit 27e3937
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 25 deletions.
31 changes: 18 additions & 13 deletions definitions/v9/animeworld-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,15 @@ settings:
- name: info_key
type: info
label: About your API key
default: "Find or Generate a new API Token by accessing your <a href=\"https://animeworld.cx/\" target=\"_blank\">AnimeWorld</a> account <i>My Security</i> page and clicking on the <b>API Token</b> tab."
default: "Find or Generate a new API Token by accessing your <a href=\"https://animeworld.cx/\" target=\"_blank\">AnimeWorld</a> account <i>My Settings</i> page and clicking on the <b>API Key</b> tab."
- name: freeleech
type: checkbox
label: Search freeleech only
default: false
- name: single_file_release_use_filename
type: checkbox
label: Use filename as title for single file releases
default: true
- name: sort
type: select
label: Sort requested from site
Expand Down Expand Up @@ -111,8 +115,15 @@ search:
fields:
category:
selector: category_id
title:
title_optional:
selector: name
title_filename:
selector: "files[0].name"
optional: true
files:
selector: num_file
title:
text: "{{ if and (.Config.single_file_release_use_filename) (eq .Result.files \"1\") (.Result.title_filename) }}{{ .Result.title_filename }}{{ else }}{{ .Result.title_optional }}{{ end }}"
details:
selector: details_link
download:
Expand All @@ -134,17 +145,11 @@ search:
selector: meta.genres
filters:
- name: re_replace
args: ["(?i)^None$", ""]
- name: re_replace
args: ["(?i)(Cinema TV)", "Cinema_TV"]
- name: re_replace
args: ["(?i)(Ficção científica)", "Ficção_científica"]
args: ["(?i)(Science Fiction)", "Science_Fiction"]
- name: replace
args: [" & ", "_&_"]
description:
text: "{{ .Result.genre }}"
files:
selector: num_file
seeders:
selector: seeders
leechers:
Expand Down Expand Up @@ -172,12 +177,12 @@ search:
100%: 0 # freeleech
"*": 0 # catch errors
uploadvolumefactor:
# api returns 0=false, 1=true
# api returns False, True
selector: double_upload
case:
0: 1 # normal
1: 2 # double
False: 1 # normal
True: 2 # double
minimumseedtime:
# 7 day (as seconds = 7 x 24 x 60 x 60)
text: 604800
# json UNIT3D 6.5.0
# json UNIT3D 8.0.0
6 changes: 6 additions & 0 deletions definitions/v9/turkseed-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,14 @@ search:
genre:
selector: meta.genres
filters:
- name: re_replace
args: ["(?i)(Bilim Kurgu)", "Bilim_Kurgu"]
- name: re_replace
args: ["(?i)(Pembe Dizi)", "Pembe_Dizi"]
- name: re_replace
args: ["(?i)(TV film)", "TV_film"]
- name: re_replace
args: ["(?i)(Vahşi Batı)", "Vahşi_Batı"]
- name: replace
args: [" & ", "_&_"]
description:
Expand Down
4 changes: 1 addition & 3 deletions definitions/v9/yggcookie.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ requestDelay: 2
links:
- https://www.ygg.re/
legacylinks:
- https://ww3.yggtorrent.si/
- https://yggtorrent.si/
- http://www2.yggtorrent.si/
- https://www2.yggtorrent.si/
- https://www.yggtorrent.li/
Expand Down Expand Up @@ -256,7 +254,7 @@ login:
cookie: "{{ .Config.cookie }}"
test:
path: /
selector: div#top_panel:contains("Déconnexion")
selector: a[href$="/user/logout"]

search:
paths:
Expand Down
13 changes: 4 additions & 9 deletions definitions/v9/yggtorrent.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ requestDelay: 2
links:
- https://www.ygg.re/
legacylinks:
- https://ww3.yggtorrent.si/
- https://yggtorrent.si/
- http://www2.yggtorrent.si/
- https://www2.yggtorrent.si/
- https://www.yggtorrent.li/
Expand Down Expand Up @@ -244,16 +242,13 @@ settings:

login:
method: form
path: /
form: "#user-login"
path: /auth/login
form: form[action="/auth/process_login"]
inputs:
id: "{{ .Config.username }}"
pass: "{{ .Config.password }}"
ci_csrf_token: ""
error:
- selector: "#login_msg_pass[style=\"\"][style] > center"
- selector: "#ban_msg_login[style=\"\"][style] > center"
- selector: "#login_msg_mail[style=\"\"][style] > center"
- selector: p.error-form
- selector: a[href$="/user/disabled"]
message:
# Compte Inactif
Expand All @@ -263,7 +258,7 @@ login:
args: " - Dès que vous passez en dessous d'un ratio inférieur à 1, Votre compte devient inactif et le site vous coupe les téléchargements."
test:
path: /
selector: div#top_panel:contains("Déconnexion")
selector: a[href$="/user/logout"]

search:
paths:
Expand Down

0 comments on commit 27e3937

Please sign in to comment.