mirror of https://github.com/Jackett/Jackett
Shareisland: try to fix title parsing
This commit is contained in:
parent
a33c9eea0a
commit
26933d9286
|
@ -98,8 +98,17 @@
|
||||||
download:
|
download:
|
||||||
selector: a[href^="index.php?page=downloadcheck&id="]
|
selector: a[href^="index.php?page=downloadcheck&id="]
|
||||||
attribute: href
|
attribute: href
|
||||||
title:
|
title: # shortened title?
|
||||||
selector: a[title][href^="index.php?page=torrent-details&id="]
|
selector: a[href^="index.php?page=torrent-details"]
|
||||||
|
# normalize to SXXEYY format
|
||||||
|
filters:
|
||||||
|
- name: re_replace
|
||||||
|
args: ["(\\d{2})x(\\d{2})", "S$1E$2"]
|
||||||
|
- name: re_replace
|
||||||
|
args: ["(\\d{1})x(\\d{2})", "S0$1E$2"]
|
||||||
|
title: # long titles?
|
||||||
|
optional: true
|
||||||
|
selector: a[title][href^="index.php?page=torrent-details"]
|
||||||
attribute: title
|
attribute: title
|
||||||
filters:
|
filters:
|
||||||
- name: replace
|
- name: replace
|
||||||
|
|
Loading…
Reference in New Issue