mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
torrent9: add sort option and *.li proxy
code used and adapted from cpasbienclone.yml
This commit is contained in:
@@ -10,6 +10,7 @@ links:
|
|||||||
- https://www.oxtorrent.me/
|
- https://www.oxtorrent.me/
|
||||||
- https://www.torrent9.gg/
|
- https://www.torrent9.gg/
|
||||||
- https://torrent9.to/
|
- https://torrent9.to/
|
||||||
|
- https://torrent9.li/
|
||||||
- https://torrent9.unblockninja.com/
|
- https://torrent9.unblockninja.com/
|
||||||
|
|
||||||
legacylinks:
|
legacylinks:
|
||||||
@@ -80,6 +81,19 @@ settings:
|
|||||||
type: checkbox
|
type: checkbox
|
||||||
label: Replace VOSTFR with ENGLISH
|
label: Replace VOSTFR with ENGLISH
|
||||||
default: false
|
default: false
|
||||||
|
- name: sort
|
||||||
|
type: select
|
||||||
|
label: Sort requested from site (Only works for searches with Keywords)
|
||||||
|
default: ?trie-date-d
|
||||||
|
options:
|
||||||
|
?trie-date-d: created desc
|
||||||
|
?trie-date-a: created asc
|
||||||
|
?trie-seeds-d: seeders desc
|
||||||
|
?trie-seeds-a: seeders asc
|
||||||
|
?trie-poid-d: size desc
|
||||||
|
?trie-poid-a: size asc
|
||||||
|
?trie-nom-d: title desc
|
||||||
|
?trie-nom-a: title asc
|
||||||
- name: info_131681
|
- name: info_131681
|
||||||
type: info
|
type: info
|
||||||
label: About Torrent9 Categories
|
label: About Torrent9 Categories
|
||||||
@@ -91,9 +105,9 @@ download:
|
|||||||
|
|
||||||
search:
|
search:
|
||||||
paths:
|
paths:
|
||||||
- path: "{{ if .Keywords }}/search_torrent/{{ .Keywords }}{{ else }}/top_torrent/{{ end }}"
|
- path: "{{ if .Keywords }}/search_torrent/{{ .Keywords }}{{ .Config.sort }}{{ else }}/top_torrent/{{ end }}"
|
||||||
keywordsfilters:
|
keywordsfilters:
|
||||||
# if searching for season packs swith S01 to saison 1 #9712
|
# if searching for season packs with S01 to saison 1 #9712
|
||||||
- name: re_replace
|
- name: re_replace
|
||||||
args: ["(?i)(S0)(\\d{1,2})$", "saison $2"]
|
args: ["(?i)(S0)(\\d{1,2})$", "saison $2"]
|
||||||
- name: re_replace
|
- name: re_replace
|
||||||
@@ -174,6 +188,9 @@ search:
|
|||||||
args: ["Go", "GB"]
|
args: ["Go", "GB"]
|
||||||
- name: replace
|
- name: replace
|
||||||
args: ["To", "TB"]
|
args: ["To", "TB"]
|
||||||
|
# support for search with keywords on *.li which returns sizes nnnnn.n without unit indicator.
|
||||||
|
- name: re_replace
|
||||||
|
args: ["(\\d+)\\.\\d(?!KB|MB|GB|TB)", "$1 MB"]
|
||||||
seeders:
|
seeders:
|
||||||
text: 0
|
text: 0
|
||||||
seeders:
|
seeders:
|
||||||
|
Reference in New Issue
Block a user