mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
assorted: fix year regex (#15994)
This commit is contained in:
@@ -152,7 +152,7 @@ search:
|
|||||||
keywordsfilters:
|
keywordsfilters:
|
||||||
# drop the year from searches since site titles do not include year
|
# drop the year from searches since site titles do not include year
|
||||||
- name: re_replace
|
- name: re_replace
|
||||||
args: ["(19|20[0-9]{2})", ""]
|
args: ["(\\b((19|20)\\d{2})\\b)", ""]
|
||||||
|
|
||||||
rows:
|
rows:
|
||||||
selector: "div#fancy-list-group ul.list-group li.list-group-item{{ if .Config.freeleech }}:has(span.badge-success:contains(\"FREE\")){{ else }}{{ end }}"
|
selector: "div#fancy-list-group ul.list-group li.list-group-item{{ if .Config.freeleech }}:has(span.badge-success:contains(\"FREE\")){{ else }}{{ end }}"
|
||||||
|
@@ -106,7 +106,7 @@ search:
|
|||||||
text: "{{ if .Result.title_phase1_title }}{{ .Result.title_phase1_title }}{{ else }}{{ .Result.title_phase1_url }}{{ end }}"
|
text: "{{ if .Result.title_phase1_title }}{{ .Result.title_phase1_title }}{{ else }}{{ .Result.title_phase1_url }}{{ end }}"
|
||||||
filters:
|
filters:
|
||||||
- name: re_replace
|
- name: re_replace
|
||||||
args: ["(?i)\\b(FRENCH|MULTI|TRUEFRENCH|VOSTFR|SUBFRENCH)\\b(.+?)(\\b(19|20\\d{2})\\b)$", "$3 $1$2"]
|
args: ["(?i)\\b(FRENCH|MULTI|TRUEFRENCH|VOSTFR|SUBFRENCH)\\b(.+?)(\\b((19|20)\\d{2})\\b)$", "$3 $1$2"]
|
||||||
title_vostfr:
|
title_vostfr:
|
||||||
text: "{{ .Result.title_phase1 }}"
|
text: "{{ .Result.title_phase1 }}"
|
||||||
filters:
|
filters:
|
||||||
|
@@ -93,7 +93,7 @@ search:
|
|||||||
selector: a
|
selector: a
|
||||||
filters:
|
filters:
|
||||||
- name: re_replace
|
- name: re_replace
|
||||||
args: ["(?i)\\b(FRENCH|MULTI|TRUEFRENCH|VOSTFR|SUBFRENCH)\\b(.+?)(\\b(19|20\\d{2})\\b)$", "$3 $1$2"]
|
args: ["(?i)\\b(FRENCH|MULTI|TRUEFRENCH|VOSTFR|SUBFRENCH)\\b(.+?)(\\b((19|20)\\d{2})\\b)$", "$3 $1$2"]
|
||||||
title_vostfr:
|
title_vostfr:
|
||||||
text: "{{ .Result.title_phase1 }}"
|
text: "{{ .Result.title_phase1 }}"
|
||||||
filters:
|
filters:
|
||||||
|
@@ -120,7 +120,7 @@ search:
|
|||||||
selector: td:nth-child(1) a
|
selector: td:nth-child(1) a
|
||||||
filters:
|
filters:
|
||||||
- name: re_replace
|
- name: re_replace
|
||||||
args: ["(?i)\\b(FRENCH|MULTI|TRUEFRENCH|VOSTFR|SUBFRENCH)\\b(.+?)(\\b(19|20\\d{2})\\b)$", "$3 $1$2"]
|
args: ["(?i)\\b(FRENCH|MULTI|TRUEFRENCH|VOSTFR|SUBFRENCH)\\b(.+?)(\\b((19|20)\\d{2})\\b)$", "$3 $1$2"]
|
||||||
title_vostfr:
|
title_vostfr:
|
||||||
text: "{{ .Result.title_phase1 }}"
|
text: "{{ .Result.title_phase1 }}"
|
||||||
filters:
|
filters:
|
||||||
|
@@ -81,7 +81,7 @@ search:
|
|||||||
selector: td:nth-child(1) a
|
selector: td:nth-child(1) a
|
||||||
filters:
|
filters:
|
||||||
- name: re_replace
|
- name: re_replace
|
||||||
args: ["(?i)\\b(FRENCH|MULTI|TRUEFRENCH|VOSTFR|SUBFRENCH)\\b(.+?)(\\b(19|20\\d{2})\\b)$", "$3 $1$2"]
|
args: ["(?i)\\b(FRENCH|MULTI|TRUEFRENCH|VOSTFR|SUBFRENCH)\\b(.+?)(\\b((19|20)\\d{2})\\b)$", "$3 $1$2"]
|
||||||
title_vostfr:
|
title_vostfr:
|
||||||
text: "{{ .Result.title_phase1 }}"
|
text: "{{ .Result.title_phase1 }}"
|
||||||
filters:
|
filters:
|
||||||
|
@@ -126,7 +126,7 @@ search:
|
|||||||
selector: td:nth-child(1) a
|
selector: td:nth-child(1) a
|
||||||
filters:
|
filters:
|
||||||
- name: re_replace
|
- name: re_replace
|
||||||
args: ["(?i)\\b(FRENCH|MULTI|TRUEFRENCH|VOSTFR|SUBFRENCH)\\b(.+?)(\\b(19|20\\d{2})\\b)$", "$3 $1$2"]
|
args: ["(?i)\\b(FRENCH|MULTI|TRUEFRENCH|VOSTFR|SUBFRENCH)\\b(.+?)(\\b((19|20)\\d{2})\\b)$", "$3 $1$2"]
|
||||||
title_vostfr:
|
title_vostfr:
|
||||||
text: "{{ .Result.title_phase1 }}"
|
text: "{{ .Result.title_phase1 }}"
|
||||||
filters:
|
filters:
|
||||||
|
@@ -144,7 +144,7 @@ search:
|
|||||||
text: "{{ if .Result.title_optional }}{{ .Result.title_optional }}{{ else }}{{ .Result.title_default }}{{ end }}"
|
text: "{{ if .Result.title_optional }}{{ .Result.title_optional }}{{ else }}{{ .Result.title_default }}{{ end }}"
|
||||||
filters:
|
filters:
|
||||||
- name: re_replace
|
- name: re_replace
|
||||||
args: ["(?i)\\b(FRENCH|MULTI|TRUEFRENCH|VOSTFR|SUBFRENCH)\\b(.+?)(\\b(19|20\\d{2})\\b)$", "$3 $1$2"]
|
args: ["(?i)\\b(FRENCH|MULTI|TRUEFRENCH|VOSTFR|SUBFRENCH)\\b(.+?)(\\b((19|20)\\d{2})\\b)$", "$3 $1$2"]
|
||||||
title_vostfr:
|
title_vostfr:
|
||||||
text: "{{ .Result.title_phase1 }}"
|
text: "{{ .Result.title_phase1 }}"
|
||||||
filters:
|
filters:
|
||||||
|
@@ -98,7 +98,7 @@ search:
|
|||||||
- name: replace
|
- name: replace
|
||||||
args: ["WEBRIP", "WEBDL"]
|
args: ["WEBRIP", "WEBDL"]
|
||||||
- name: re_replace
|
- name: re_replace
|
||||||
args: ["(?i)\\b(FRENCH|MULTI|TRUEFRENCH|VOSTFR|SUBFRENCH)\\b(.+?)(\\b(19|20\\d{2})\\b)$", "$3 $1$2"]
|
args: ["(?i)\\b(FRENCH|MULTI|TRUEFRENCH|VOSTFR|SUBFRENCH)\\b(.+?)(\\b((19|20)\\d{2})\\b)$", "$3 $1$2"]
|
||||||
title_vostfr:
|
title_vostfr:
|
||||||
text: "{{ .Result.title_phase1 }}"
|
text: "{{ .Result.title_phase1 }}"
|
||||||
filters:
|
filters:
|
||||||
|
@@ -117,7 +117,7 @@ search:
|
|||||||
selector: a
|
selector: a
|
||||||
filters:
|
filters:
|
||||||
- name: re_replace
|
- name: re_replace
|
||||||
args: ["(?i)\\b(FRENCH|MULTI|TRUEFRENCH|VOSTFR|SUBFRENCH)\\b(.+?)(\\b(19|20\\d{2})\\b)$", "$3 $1$2"]
|
args: ["(?i)\\b(FRENCH|MULTI|TRUEFRENCH|VOSTFR|SUBFRENCH)\\b(.+?)(\\b((19|20)\\d{2})\\b)$", "$3 $1$2"]
|
||||||
title_vostfr:
|
title_vostfr:
|
||||||
text: "{{ .Result.title_phase1 }}"
|
text: "{{ .Result.title_phase1 }}"
|
||||||
filters:
|
filters:
|
||||||
|
Reference in New Issue
Block a user