mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
Shareisland: rewrite season/episode information
This commit is contained in:
@@ -73,6 +73,11 @@
|
|||||||
search:
|
search:
|
||||||
path: /
|
path: /
|
||||||
keywordsfilters:
|
keywordsfilters:
|
||||||
|
# most ITA TV torrents are in XXxYY format, so we search without S/E prefixes and filter later
|
||||||
|
- name: re_replace
|
||||||
|
args: ["S0?(\\d{1,2})", " $1 "]
|
||||||
|
- name: re_replace
|
||||||
|
args: ["E(\\d{2,3})", " $1 "]
|
||||||
- name: re_replace
|
- name: re_replace
|
||||||
args: ["[^a-zA-Z0-9]+", "%25"]
|
args: ["[^a-zA-Z0-9]+", "%25"]
|
||||||
inputs:
|
inputs:
|
||||||
@@ -90,6 +95,12 @@
|
|||||||
fields:
|
fields:
|
||||||
title:
|
title:
|
||||||
selector: td.torrent_name > a
|
selector: td.torrent_name > a
|
||||||
|
filters:
|
||||||
|
# normalize to SXXEYY format
|
||||||
|
- name: re_replace
|
||||||
|
args: ["(\\d{2})x(\\d{2})", "S$1E$2"]
|
||||||
|
- name: re_replace
|
||||||
|
args: ["(\\d{1})x(\\d{2})", "S0$1E$2"]
|
||||||
category:
|
category:
|
||||||
selector: div.category_image > a
|
selector: div.category_image > a
|
||||||
attribute: href
|
attribute: href
|
||||||
|
Reference in New Issue
Block a user