mirror of
https://github.com/Jackett/Jackett
synced 2024-12-26 09:48:37 +00:00
Improved anime search and speed-share resolution detection (#2973)
This commit is contained in:
parent
6316b82600
commit
2fb413123c
2 changed files with 10 additions and 4 deletions
|
@ -258,6 +258,8 @@
|
|||
args: ["^Extinct", "Extinct 2017"]
|
||||
- name: re_replace
|
||||
args: ["^The Flash", "The Flash 2014"]
|
||||
- name: replace
|
||||
args: ["Nanatsu no Taizai - Imashime no Fukkatsu - E", "Nanatsu no Taizai - Imashime no Fukkatsu - S02E"]
|
||||
- name: re_replace
|
||||
args: ["^The Magicians", "The Magicians 2015"]
|
||||
# Workaround to remove the translated name from the series, didn't found an better and reliable way to do this, feel free to add more as needed.
|
||||
|
|
|
@ -226,7 +226,7 @@
|
|||
selector: a[href^="torrents-details.php?id="]
|
||||
filters:
|
||||
- name: re_replace
|
||||
args: ["(Ep[\\.]?[ ]?)|([S]\\d\\d[Ee])", "E"]
|
||||
args: ["(Ep[\\.]?[ ]?(\\d{1,3}))", "E$2"]
|
||||
title_normal:
|
||||
selector: a[href^="torrents-details.php?id="]
|
||||
filters:
|
||||
|
@ -273,11 +273,15 @@
|
|||
- name: replace
|
||||
args: ["Resolução:", ""]
|
||||
- name: re_replace
|
||||
args: ["(\\d{3,4})[ ]?x[ ]?(1[0-9][0-9][0-9])", "1080p"]
|
||||
args: ["(\\d{3,4})[ ]?[xX][ ]?(1[0-9][0-9][0-9])", "1080p"]
|
||||
- name: re_replace
|
||||
args: ["(\\d{3,4})[ ]?x[ ]?([2-9][0-9][0-9][0-9])", "2160p"]
|
||||
args: ["(\\d{3,4})[ ]?[xX][ ]?([2-9][0-9][0-9][0-9])", "2160p"]
|
||||
- name: re_replace
|
||||
args: ["(\\d{3,4})[ ]?x[ ]?([7-9][0-9][0-9])", "720p"]
|
||||
args: ["(\\d{3,4})[ ]?[xX][ ]?([6-9][0-9][0-9])", "720p"]
|
||||
- name: re_replace
|
||||
args: ["(\\d{3,4})[ ]?[xX][ ]?([3-5][0-9][0-9])", "480p"]
|
||||
- name: re_replace
|
||||
args: ["(\\d{3,4})[ ]?[xX][ ]?([1-2][0-9][0-9])", "240p"]
|
||||
download:
|
||||
selector: a[href^="torrents-details.php?id="]
|
||||
attribute: href
|
||||
|
|
Loading…
Reference in a new issue