mirror of https://github.com/Jackett/Jackett
limetorrents: convert to categorymappings
code tidy add info about 8000
This commit is contained in:
parent
49b11b0fd3
commit
a6b30e9bc0
|
@ -36,14 +36,14 @@ legacylinks:
|
||||||
- https://limetorrents.unblockit.top/
|
- https://limetorrents.unblockit.top/
|
||||||
|
|
||||||
caps:
|
caps:
|
||||||
categories:
|
categorymappings:
|
||||||
"TV shows": TV
|
- {id: "TV shows", cat: TV, desc: "TV shows"}
|
||||||
Movies: Movies
|
- {id: Movies, cat: Movies, desc: Movies}
|
||||||
Music: Audio
|
- {id: Music, cat: Audio, desc: Music}
|
||||||
Games: Console
|
- {id: Games, cat: Console, desc: Games}
|
||||||
Applications: PC/0day
|
- {id: Applications, cat: PC/0day, desc: Applications}
|
||||||
Other: Other/Misc
|
- {id: Other, cat: Other, desc: Other}
|
||||||
Anime: TV/Anime
|
- {id: Anime, cat: TV/Anime, desc: Anime}
|
||||||
|
|
||||||
modes:
|
modes:
|
||||||
search: [q]
|
search: [q]
|
||||||
|
@ -57,8 +57,8 @@ settings:
|
||||||
label: Download link
|
label: Download link
|
||||||
default: "magnet:"
|
default: "magnet:"
|
||||||
options:
|
options:
|
||||||
"http://itorrents.org/": "iTorrents.org"
|
"http://itorrents.org/": iTorrents.org
|
||||||
"magnet:": "magnet"
|
"magnet:": magnet
|
||||||
- name: sort
|
- name: sort
|
||||||
type: select
|
type: select
|
||||||
label: Sort requested from site
|
label: Sort requested from site
|
||||||
|
@ -67,6 +67,10 @@ settings:
|
||||||
date: created
|
date: created
|
||||||
seeds: seeders
|
seeds: seeders
|
||||||
size: size
|
size: size
|
||||||
|
- name: info_8000
|
||||||
|
type: info
|
||||||
|
label: About LimeTorrents Categories
|
||||||
|
default: LimeTorrents only returns category <b>Other</b> in its <i>Keywordless</i> search results page.</br>To pass your apps' indexer TEST you will need to include the 8000(Other) category.
|
||||||
|
|
||||||
download:
|
download:
|
||||||
# the .torrent url is on the on the details page
|
# the .torrent url is on the on the details page
|
||||||
|
@ -75,44 +79,15 @@ download:
|
||||||
|
|
||||||
search:
|
search:
|
||||||
paths:
|
paths:
|
||||||
- path: "{{ if .Keywords }}search/all/{{ .Keywords }}/{{ .Config.sort }}/1/{{else}}/latest100{{end}}"
|
- path: "{{ if .Keywords }}search/all/{{ .Keywords }}/{{ .Config.sort }}/1/{{ else }}/latest100{{ end }}"
|
||||||
keywordsfilters:
|
keywordsfilters:
|
||||||
- name: re_replace
|
- name: re_replace
|
||||||
args: ["S[0-9]{2}([^E]|$)", ""] # remove season tag without episode
|
args: ["S[0-9]{2}([^E]|$)", ""] # remove season tag without episode
|
||||||
|
|
||||||
rows:
|
rows:
|
||||||
selector: ".table2 > tbody > tr[bgcolor]"
|
selector: .table2 > tbody > tr[bgcolor]
|
||||||
|
|
||||||
fields:
|
fields:
|
||||||
title:
|
|
||||||
selector: div.tt-name > a[href^="/"]
|
|
||||||
attribute: href
|
|
||||||
filters:
|
|
||||||
- name: regexp
|
|
||||||
args: "/(.+?)-torrent-\\d+\\.html"
|
|
||||||
- name: re_replace
|
|
||||||
args: ["-", " "]
|
|
||||||
details:
|
|
||||||
selector: div.tt-name > a[href^="/"]
|
|
||||||
attribute: href
|
|
||||||
size:
|
|
||||||
selector: td:nth-child(3)
|
|
||||||
seeders:
|
|
||||||
selector: .tdseed
|
|
||||||
leechers:
|
|
||||||
selector: .tdleech
|
|
||||||
date:
|
|
||||||
selector: td:nth-child(2)
|
|
||||||
filters:
|
|
||||||
- name: split
|
|
||||||
args: ["-", 0]
|
|
||||||
- name: replace
|
|
||||||
args: ["Last Month", "1 month ago"]
|
|
||||||
- name: replace
|
|
||||||
args: ["+", " ago"]
|
|
||||||
download:
|
|
||||||
selector: div.tt-name > a[href^="/"]
|
|
||||||
attribute: href
|
|
||||||
category:
|
category:
|
||||||
text: Other
|
text: Other
|
||||||
category|noappend:
|
category|noappend:
|
||||||
|
@ -125,6 +100,35 @@ search:
|
||||||
args: [" in ", ""]
|
args: [" in ", ""]
|
||||||
- name: replace
|
- name: replace
|
||||||
args: [".", ""]
|
args: [".", ""]
|
||||||
|
title:
|
||||||
|
selector: div.tt-name > a[href^="/"]
|
||||||
|
attribute: href
|
||||||
|
filters:
|
||||||
|
- name: regexp
|
||||||
|
args: "/(.+?)-torrent-\\d+\\.html"
|
||||||
|
- name: re_replace
|
||||||
|
args: ["-", " "]
|
||||||
|
details:
|
||||||
|
selector: div.tt-name > a[href^="/"]
|
||||||
|
attribute: href
|
||||||
|
download:
|
||||||
|
selector: div.tt-name > a[href^="/"]
|
||||||
|
attribute: href
|
||||||
|
date:
|
||||||
|
selector: td:nth-child(2)
|
||||||
|
filters:
|
||||||
|
- name: split
|
||||||
|
args: ["-", 0]
|
||||||
|
- name: replace
|
||||||
|
args: ["Last Month", "1 month ago"]
|
||||||
|
- name: replace
|
||||||
|
args: ["+", " ago"]
|
||||||
|
size:
|
||||||
|
selector: td:nth-child(3)
|
||||||
|
seeders:
|
||||||
|
selector: .tdseed
|
||||||
|
leechers:
|
||||||
|
selector: .tdleech
|
||||||
downloadvolumefactor:
|
downloadvolumefactor:
|
||||||
text: 0
|
text: 0
|
||||||
uploadvolumefactor:
|
uploadvolumefactor:
|
||||||
|
|
Loading…
Reference in New Issue