mirror of https://github.com/Jackett/Jackett
torrentland: fix parsing errors and remove prefix tags (#11913)
This commit is contained in:
parent
94a1381572
commit
131c7fea94
|
@ -104,7 +104,8 @@ search:
|
|||
args: ["(?i)\\bS(\\d+)", "T$1"]
|
||||
|
||||
rows:
|
||||
selector: table > tbody > tr
|
||||
# pre-release/vip torrents don't have download link
|
||||
selector: table > tbody > tr:has(a[href*="/download/"])
|
||||
|
||||
fields:
|
||||
category:
|
||||
|
@ -124,6 +125,8 @@ search:
|
|||
selector: a[href*="/torrents/"]:contains("VOSE")
|
||||
optional: true
|
||||
filters:
|
||||
- name: re_replace
|
||||
args: ["^ *\\[[^\\]]*\\] *", ""] # Remove prefix tags
|
||||
- name: re_replace
|
||||
args: ["(?i)\\bT(\\d+)", "S$1"]
|
||||
- name: re_replace
|
||||
|
@ -134,6 +137,8 @@ search:
|
|||
selector: a[href*="/torrents/"]:not(:contains("VOSE"))
|
||||
optional: true
|
||||
filters:
|
||||
- name: re_replace
|
||||
args: ["^ *\\[[^\\]]*\\] *", ""] # Remove prefix tags
|
||||
- name: re_replace
|
||||
args: ["(?i)\\bT(\\d+)", "S$1"]
|
||||
- name: re_replace
|
||||
|
|
Loading…
Reference in New Issue