Created a mock Sonarr container for the beta release
This commit is contained in:
@@ -69,7 +69,7 @@ login:
|
||||
quick_username: "{{ .Config.username }}"
|
||||
quick_password: "{{ .Config.password }}"
|
||||
action: do_login
|
||||
url: "https://torrent.unionfansub.com/"
|
||||
url: "{{ .Config.sitelink }}"
|
||||
quick_login: 1
|
||||
quick_remember: yes
|
||||
error:
|
||||
@@ -98,8 +98,22 @@ search:
|
||||
filters:
|
||||
- name: querystring
|
||||
args: cat
|
||||
title:
|
||||
title_fansub:
|
||||
selector: td:nth-child(2) span
|
||||
optional: true
|
||||
title_season:
|
||||
selector: td:nth-child(2) a
|
||||
filters:
|
||||
- name: re_replace
|
||||
args: ["(?i)\\b(\\d{1,4})([ºª])\\b", "$1"]
|
||||
- name: re_replace
|
||||
args: ["(?i)\\b(Temporada|Season) (\\d+)\\b", "S$2"]
|
||||
- name: re_replace
|
||||
args: ["(?i)\\b(\\d+)(st|nd|rd|th) (Season|Temporada)\\b", "S$1"]
|
||||
- name: re_replace
|
||||
args: ["(?i)\\b(Season|Temporada) (\\d+)(st|nd|rd|th)\\b", "S$2"]
|
||||
title:
|
||||
text: "{{ .Result.title_season }}{{ if .Result.title_fansub }} [{{ .Result.title_fansub }}]{{ else }}{{ end }}"
|
||||
details:
|
||||
selector: td:nth-child(2) a
|
||||
attribute: href
|
||||
|
||||
Reference in New Issue
Block a user