From 2ffbedc2faaed33e8f4788d7bb6c4fe99b1236af Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Wed, 20 Mar 2019 15:26:24 +1300 Subject: [PATCH] anidex: use torznab categories for search, add lang id info in config --- src/Jackett.Common/Definitions/anidex.yml | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/src/Jackett.Common/Definitions/anidex.yml b/src/Jackett.Common/Definitions/anidex.yml index a427bbb69..1f40ac936 100644 --- a/src/Jackett.Common/Definitions/anidex.yml +++ b/src/Jackett.Common/Definitions/anidex.yml @@ -31,20 +31,18 @@ tv-search: [q, season, ep] settings: - - name: cat-id - type: text - label: Category Id - - name: info - type: info - label: Category Id Note - default: "You can filter your searches by using any of the following category numbers (comma delimited):
1 :Anime - Sub
2 :Anime - Raw
3 :Anime - Dub
4 :LA - Sub
5 :LA - Raw
6 :Light Novel
7 :Manga - TLed
8 :Manga - Raw
9 :♫ - Lossy
10 :♫ - Lossless
11 :♫ - Video
12 :Games
13 :Applications
14 :Pictures
15 :Adult Video
16 :Other" - name: lang-id type: text - label: Language Id + label: Language ID + - name: info + type: info + label: Language ID Note + default: "You can filter your searches using any of the following language ID (comma delimited):
19 :Arabic
22 :Bengali
14 :Bulgarian
21 :Chinese (Simplified)
24 :Czech
20 :Danish
5 :Dutch
1 :English
11 :Finnish
10 :French
8 :German
13 :Greek
9 :Hungarian
27 :Indonesian
6 :Italian
2 :Japanese
28 :Korean
31 :Malaysian
25 :Mongolian
30 :Persian
3 :Polish
16 :Portuguese (Brazil)
17 :Portuguese (Portugal)
23 :Romanian
7 :Russian
4 :Serbo-Croatian
29 :Spanish (LATAM)
15 :Spanish (Spain)
18 :Swedish
26 :Turkish
12 :Vietnamese" search: paths: - - path: "?{{if .Config.cat-id}}id={{.Config.cat-id }}&{{else}}{{end}}{{if .Config.lang-id}}lang_id={{.Config.lang-id}}&{{else}}{{end}}q={{if .Keywords}}{{.Keywords}}{{else}}{{end}}" + # https://anidex.info/?page=search&id=1,2,3&lang_id=5,1,10&group_id=0&q=rinshi + - path: "?page=search&id={{if .Categories}}{{range .Categories}}{{.}},{{end}}{{else}}0{{end}}{{if .Config.lang-id}}&lang_id={{.Config.lang-id}}{{else}}{{end}}&group_id=0&q={{if .Keywords}}{{.Keywords}}{{else}}{{end}}" rows: selector: div.table-responsive > table > tbody > tr fields: