1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2025-03-09 13:52:03 +00:00

desitorrents: smarter fix for #9849

This commit is contained in:
Garfield69 2020-10-23 19:32:40 +13:00
parent 5b8b127779
commit 73956a361e

View file

@ -111,14 +111,14 @@ settings:
- name: sort - name: sort
type: select type: select
label: Sort requested from site label: Sort requested from site
# while the grabs and date columns are merged due (see #9849), the time sort on the website fails with "selected sorting wrong: time". # while the grabs and date columns are merged due (see #9849), the time sort on the website fails with: "selected sorting wrong: time".
# default: "time" # default: time
default: "relevance" default: relevance
options: options:
# "time": "created" # time: created
"seeders": "seeders" seeders: seeders
"size": "size" size: size
"relevance": "title" relevance: title
login: login:
path: login.php?from=index1 path: login.php?from=index1
@ -153,6 +153,8 @@ search:
args: ["\\", ""] args: ["\\", ""]
- name: re_replace - name: re_replace
args: ["\",\"paging.*", ""] args: ["\",\"paging.*", ""]
- name: re_replace
args: ["</th<th>", "</th><th>"] # fix for #9849
- name: prepend - name: prepend
args: "<table>" args: "<table>"
- name: append - name: append
@ -252,17 +254,10 @@ search:
leechers: leechers:
selector: th:nth-child(10) selector: th:nth-child(10)
grabs: grabs:
# issue #9849 the ajax stream contains <th>27</th<th>2020-10-05 03:55:34</th> (note the broken th terminator for grabs)
selector: th:nth-child(11) selector: th:nth-child(11)
filters:
- name: regexp
args: ^(\d+)\d{4}-
date: date:
# selector: th:nth-child(12) issue #9849 selector: th:nth-child(12)
selector: th:nth-child(11)
filters: filters:
- name: regexp
args: (\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2})
- name: append - name: append
args: " +00:00" # GMT args: " +00:00" # GMT
- name: dateparse - name: dateparse