mirror of https://github.com/Jackett/Jackett
cartoonchaos: fix title (#13832)
This commit is contained in:
parent
8ffe670b29
commit
01e9a73fa7
|
@ -83,7 +83,7 @@ search:
|
||||||
# http://www.cartoonchaos.org/index.php?page=torrents&search=transformers&category=30;21;20;26;15;16;17&options=0&active=0
|
# http://www.cartoonchaos.org/index.php?page=torrents&search=transformers&category=30;21;20;26;15;16;17&options=0&active=0
|
||||||
- path: index.php
|
- path: index.php
|
||||||
keywordsfilters:
|
keywordsfilters:
|
||||||
# if searching for season packs switch S01 to season 1 #11775
|
# if searching for season packs switch S01 to season 1 #11775
|
||||||
- name: re_replace
|
- name: re_replace
|
||||||
args: ["(?i)(S0)(\\d{1,2})$", "season $2"]
|
args: ["(?i)(S0)(\\d{1,2})$", "season $2"]
|
||||||
- name: re_replace
|
- name: re_replace
|
||||||
|
@ -103,6 +103,24 @@ search:
|
||||||
selector: "table.lista tr td table.lista tr:has(a[href^=\"index.php?page=torrent-details\"]):not(:has(a[href=\"index.php?page=torrents&category=0\"])){{ if .Config.freeleech }}:has(img[src=\"gold/gold.gif\"]){{ else }}{{ end }}"
|
selector: "table.lista tr td table.lista tr:has(a[href^=\"index.php?page=torrent-details\"]):not(:has(a[href=\"index.php?page=torrents&category=0\"])){{ if .Config.freeleech }}:has(img[src=\"gold/gold.gif\"]){{ else }}{{ end }}"
|
||||||
|
|
||||||
fields:
|
fields:
|
||||||
|
title_torrent:
|
||||||
|
selector: a[href^="download.php?id="]
|
||||||
|
attribute: href
|
||||||
|
filters:
|
||||||
|
- name: querystring
|
||||||
|
args: f
|
||||||
|
- name: replace
|
||||||
|
args: ["&", "&"]
|
||||||
|
- name: replace
|
||||||
|
args: ["'", "'"]
|
||||||
|
- name: re_replace
|
||||||
|
args: ["(?i)\\.torrent$", ""]
|
||||||
|
title_text:
|
||||||
|
selector: td a[href^="index.php?page=torrent-details"]
|
||||||
|
filters:
|
||||||
|
# #11775
|
||||||
|
- name: re_replace
|
||||||
|
args: ["(?i)(season )", "S"]
|
||||||
category:
|
category:
|
||||||
selector: td a[href^="index.php?page=torrents&category="]
|
selector: td a[href^="index.php?page=torrents&category="]
|
||||||
attribute: href
|
attribute: href
|
||||||
|
@ -110,11 +128,7 @@ search:
|
||||||
- name: querystring
|
- name: querystring
|
||||||
args: category
|
args: category
|
||||||
title:
|
title:
|
||||||
selector: td a[href^="index.php?page=torrent-details"]
|
text: "{{ if .Result.title_torrent }}{{ .Result.title_torrent }}{{ else }}{{ .Result.title_text }}{{ end }}"
|
||||||
filters:
|
|
||||||
# #11775
|
|
||||||
- name: re_replace
|
|
||||||
args: ["(?i)(season )", "S"]
|
|
||||||
details:
|
details:
|
||||||
selector: td a[href^="index.php?page=torrent-details"]
|
selector: td a[href^="index.php?page=torrent-details"]
|
||||||
attribute: href
|
attribute: href
|
||||||
|
|
Loading…
Reference in New Issue