diff --git a/src/Jackett.Common/Definitions/limetorrents.yml b/src/Jackett.Common/Definitions/limetorrents.yml index 0efb3bc4e..c056bdc3b 100644 --- a/src/Jackett.Common/Definitions/limetorrents.yml +++ b/src/Jackett.Common/Definitions/limetorrents.yml @@ -40,6 +40,14 @@ options: "http://itorrents.org/" : "iTorrents.org" "magnet:": "magnet" + - name: sort + type: select + label: Sort requested from site + default: "date" + options: + "date": "created" + "seeds": "seeders" + "size": "size" download: # the .torrent url is on the on the details page @@ -47,12 +55,14 @@ search: paths: - - path: "{{if .Keywords}}search/all/{{ .Keywords}}/date/1/{{else}}/index.php?page=latest100{{end}}" + - path: "{{ if .Keywords }}search/all/{{ .Keywords }}/{{ .Config.sort }}/1/{{else}}/latest100{{end}}" keywordsfilters: - name: re_replace args: ["S[0-9]{2}([^E]|$)", ""] #remove season tag without episode + rows: selector: ".table2 > tbody > tr[bgcolor]" + fields: title: selector: div.tt-name > a[href^="/"] @@ -88,6 +98,6 @@ - name: replace args: [".", ""] downloadvolumefactor: - text: "0" + text: 0 uploadvolumefactor: - text: "1" + text: 1