mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
assorted: conform to yaml standards by avoiding duplicate keys #11917
This commit is contained in:
@@ -230,12 +230,12 @@ search:
|
|||||||
attribute: href
|
attribute: href
|
||||||
size:
|
size:
|
||||||
selector: td:nth-last-child(2)
|
selector: td:nth-last-child(2)
|
||||||
date:
|
date_ago:
|
||||||
selector: td:nth-last-child(7):contains('ago')
|
selector: td:nth-last-child(7):contains('ago')
|
||||||
optional: true
|
optional: true
|
||||||
filters:
|
filters:
|
||||||
- name: timeago
|
- name: timeago
|
||||||
date:
|
date_year:
|
||||||
selector: td:nth-last-child(7):contains('/')
|
selector: td:nth-last-child(7):contains('/')
|
||||||
optional: true
|
optional: true
|
||||||
filters:
|
filters:
|
||||||
@@ -243,6 +243,8 @@ search:
|
|||||||
args: " +00:00" # auto adjusted by site account profile
|
args: " +00:00" # auto adjusted by site account profile
|
||||||
- name: dateparse
|
- name: dateparse
|
||||||
args: "02/01/2006 -07:00"
|
args: "02/01/2006 -07:00"
|
||||||
|
date:
|
||||||
|
text: "{{ if or .Result.date_year .Result.date_ago }}{{ or .Result.date_year .Result.date_ago }}{{ else }}now{{ end }}"
|
||||||
grabs:
|
grabs:
|
||||||
selector: td:nth-last-child(4)
|
selector: td:nth-last-child(4)
|
||||||
seeders:
|
seeders:
|
||||||
|
@@ -131,7 +131,7 @@ search:
|
|||||||
selector: td:nth-last-child(2)
|
selector: td:nth-last-child(2)
|
||||||
grabs:
|
grabs:
|
||||||
selector: td:nth-last-child(1)
|
selector: td:nth-last-child(1)
|
||||||
imdb:
|
imdbid:
|
||||||
selector: a[href*="imdb.com/title/tt"]
|
selector: a[href*="imdb.com/title/tt"]
|
||||||
attribute: href
|
attribute: href
|
||||||
tmdbid:
|
tmdbid:
|
||||||
|
@@ -119,39 +119,22 @@ search:
|
|||||||
download:
|
download:
|
||||||
selector: a[href*="/download.php/"]
|
selector: a[href*="/download.php/"]
|
||||||
attribute: href
|
attribute: href
|
||||||
imdb:
|
imdbid:
|
||||||
selector: a[title="IMDb link"]
|
selector: a[title="IMDb link"]
|
||||||
attribute: href
|
attribute: href
|
||||||
poster:
|
poster:
|
||||||
selector: img[alt="offer"]
|
selector: img[alt="offer"], a.cover
|
||||||
attribute: src
|
attribute: src
|
||||||
poster:
|
|
||||||
selector: a.cover
|
|
||||||
attribute: href
|
|
||||||
files:
|
files:
|
||||||
selector: div.files > a.button.small
|
selector: div.files > a.button.small
|
||||||
filters:
|
|
||||||
- name: replace
|
|
||||||
args: [".", ""]
|
|
||||||
size:
|
size:
|
||||||
selector: td.center.size
|
selector: td.center.size
|
||||||
seeders:
|
seeders:
|
||||||
selector: td.center.data > a:first-child
|
selector: td.center.data > a:first-child
|
||||||
filters:
|
|
||||||
- name: replace
|
|
||||||
args: [".", ""]
|
|
||||||
leechers:
|
leechers:
|
||||||
selector: td.center.data > a:nth-child(2)
|
selector: td.center.data > a:nth-child(2)
|
||||||
filters:
|
|
||||||
- name: replace
|
|
||||||
args: [".", ""]
|
|
||||||
grabs:
|
grabs:
|
||||||
selector: td.center.data
|
selector: td.center.data
|
||||||
filters:
|
|
||||||
- name: replace
|
|
||||||
args: [".", ""]
|
|
||||||
- name: replace
|
|
||||||
args: [" ", ""]
|
|
||||||
remove: div.uploader, div.moderation, a.leftborder
|
remove: div.uploader, div.moderation, a.leftborder
|
||||||
date:
|
date:
|
||||||
selector: td.center.date
|
selector: td.center.date
|
||||||
@@ -172,7 +155,6 @@ search:
|
|||||||
"*": 1
|
"*": 1
|
||||||
description:
|
description:
|
||||||
selector: div.contenttext
|
selector: div.contenttext
|
||||||
optional: true
|
|
||||||
remove: div.contenttitle
|
remove: div.contenttitle
|
||||||
minimumratio:
|
minimumratio:
|
||||||
text: 1.0
|
text: 1.0
|
||||||
|
@@ -78,7 +78,7 @@ search:
|
|||||||
download:
|
download:
|
||||||
selector: td:nth-child(2) a
|
selector: td:nth-child(2) a
|
||||||
attribute: href
|
attribute: href
|
||||||
date:
|
date_time:
|
||||||
selector: td:nth-child(4) span
|
selector: td:nth-child(4) span
|
||||||
optional: true
|
optional: true
|
||||||
attribute: title
|
attribute: title
|
||||||
@@ -87,7 +87,7 @@ search:
|
|||||||
args: " +01:00" # CET
|
args: " +01:00" # CET
|
||||||
- name: dateparse
|
- name: dateparse
|
||||||
args: "2006.01.02 15:04 -07:00"
|
args: "2006.01.02 15:04 -07:00"
|
||||||
date:
|
date_year:
|
||||||
selector: td:nth-child(4):not(:has(span))
|
selector: td:nth-child(4):not(:has(span))
|
||||||
optional: true
|
optional: true
|
||||||
filters:
|
filters:
|
||||||
@@ -95,13 +95,12 @@ search:
|
|||||||
args: " +01:00" # CET
|
args: " +01:00" # CET
|
||||||
- name: dateparse
|
- name: dateparse
|
||||||
args: "2006.01.02 -07:00"
|
args: "2006.01.02 -07:00"
|
||||||
|
date:
|
||||||
|
text: "{{ if or .Result.date_year .Result.date_time }}{{ or .Result.date_year .Result.date_time }}{{ else }}now{{ end }}"
|
||||||
size:
|
size:
|
||||||
selector: td:nth-child(5)
|
selector: td:nth-child(5)
|
||||||
grabs:
|
grabs:
|
||||||
selector: td:nth-child(6)
|
selector: td:nth-child(6)
|
||||||
filters:
|
|
||||||
- name: replace
|
|
||||||
args: [" ", ""]
|
|
||||||
seeders:
|
seeders:
|
||||||
selector: td:nth-child(7)
|
selector: td:nth-child(7)
|
||||||
leechers:
|
leechers:
|
||||||
|
@@ -111,7 +111,7 @@ search:
|
|||||||
download:
|
download:
|
||||||
selector: a[href^="/down.php/"]
|
selector: a[href^="/down.php/"]
|
||||||
attribute: href
|
attribute: href
|
||||||
imdb:
|
imdbid:
|
||||||
selector: a[href*="imdb.com/title/tt"]
|
selector: a[href*="imdb.com/title/tt"]
|
||||||
attribute: href
|
attribute: href
|
||||||
date:
|
date:
|
||||||
|
@@ -109,12 +109,14 @@ search:
|
|||||||
filters:
|
filters:
|
||||||
- name: querystring
|
- name: querystring
|
||||||
args: cat
|
args: cat
|
||||||
title_raw:
|
title_default:
|
||||||
selector: a[href^="details.php?id="]
|
selector: a[href^="details.php?id="]
|
||||||
title_raw:
|
title_optional:
|
||||||
optional: true
|
optional: true
|
||||||
selector: a[title][href^="details.php?id="]
|
selector: a[title][href^="details.php?id="]
|
||||||
attribute: title
|
attribute: title
|
||||||
|
title_raw:
|
||||||
|
text: "{{ if .Result.title_optional }}{{ .Result.title_optional }}{{ else }}{{ .Result.title_default }}{{ end }}"
|
||||||
# note: final title processing is at the bottom after descrptions is fetched.
|
# note: final title processing is at the bottom after descrptions is fetched.
|
||||||
details:
|
details:
|
||||||
selector: a[href^="details.php?id="]
|
selector: a[href^="details.php?id="]
|
||||||
@@ -122,10 +124,10 @@ search:
|
|||||||
download:
|
download:
|
||||||
selector: a[href^="download.php?id="]
|
selector: a[href^="download.php?id="]
|
||||||
attribute: href
|
attribute: href
|
||||||
imdb:
|
imdbid:
|
||||||
selector: a[href*="imdb.com/title/tt"]
|
selector: a[href*="imdb.com/title/tt"]
|
||||||
attribute: href
|
attribute: href
|
||||||
date:
|
date_elapsed:
|
||||||
# time type: time elapsed (default)
|
# time type: time elapsed (default)
|
||||||
selector: td:nth-child(4) > span[title]
|
selector: td:nth-child(4) > span[title]
|
||||||
attribute: title
|
attribute: title
|
||||||
@@ -135,7 +137,7 @@ search:
|
|||||||
args: " +08:00" # CST
|
args: " +08:00" # CST
|
||||||
- name: dateparse
|
- name: dateparse
|
||||||
args: "2006-01-02 15:04:05 -07:00"
|
args: "2006-01-02 15:04:05 -07:00"
|
||||||
date:
|
date_added:
|
||||||
# time added
|
# time added
|
||||||
selector: td:nth-child(4):not(:has(span))
|
selector: td:nth-child(4):not(:has(span))
|
||||||
optional: true
|
optional: true
|
||||||
@@ -144,6 +146,8 @@ search:
|
|||||||
args: " +08:00" # CST
|
args: " +08:00" # CST
|
||||||
- name: dateparse
|
- name: dateparse
|
||||||
args: "2006-01-0215:04:05 -07:00"
|
args: "2006-01-0215:04:05 -07:00"
|
||||||
|
date:
|
||||||
|
text: "{{ if or .Result.date_elapsed .Result.date_added }}{{ or .Result.date_elapsed .Result.date_added }}{{ else }}now{{ end }}"
|
||||||
size:
|
size:
|
||||||
selector: td:nth-child(5)
|
selector: td:nth-child(5)
|
||||||
seeders:
|
seeders:
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
---
|
---
|
||||||
id: kinonavse100
|
id: kinonavse100
|
||||||
name: KinoNaVse100
|
name: KinoNaVse100
|
||||||
description: "Кино на все 100 is a RUSSIAN Semi-Private Torrent Tracker for MOVIES / TV / MUSIC"
|
description: "Кино на все 100 is a RUSSIAN Semi-Private Torrent Tracker for MOVIES / TV / MUSIC"
|
||||||
@@ -171,7 +171,7 @@ search:
|
|||||||
selector: span.leech
|
selector: span.leech
|
||||||
grabs:
|
grabs:
|
||||||
selector: span.complet
|
selector: span.complet
|
||||||
date:
|
date_day:
|
||||||
# Сегодня, 12:35
|
# Сегодня, 12:35
|
||||||
selector: td:last-of-type p:first-of-type:contains("Сегодня"), td:last-of-type p:first-of-type:contains("Вчера")
|
selector: td:last-of-type p:first-of-type:contains("Сегодня"), td:last-of-type p:first-of-type:contains("Вчера")
|
||||||
optional: true
|
optional: true
|
||||||
@@ -181,7 +181,7 @@ search:
|
|||||||
- name: replace
|
- name: replace
|
||||||
args: ["Вчера", "Yesterday"]
|
args: ["Вчера", "Yesterday"]
|
||||||
- name: fuzzytime
|
- name: fuzzytime
|
||||||
date:
|
date_year:
|
||||||
# 12 янв 2019, 11:26
|
# 12 янв 2019, 11:26
|
||||||
selector: td:last-of-type p:first-of-type:not(:contains("Сегодня")):not(:contains("Вчера"))
|
selector: td:last-of-type p:first-of-type:not(:contains("Сегодня")):not(:contains("Вчера"))
|
||||||
optional: true
|
optional: true
|
||||||
@@ -215,6 +215,8 @@ search:
|
|||||||
args: " +03:00" # MSK
|
args: " +03:00" # MSK
|
||||||
- name: dateparse
|
- name: dateparse
|
||||||
args: "02 Jan 2006, 15:04 -07:00"
|
args: "02 Jan 2006, 15:04 -07:00"
|
||||||
|
date:
|
||||||
|
text: "{{ if or .Result.date_year .Result.date_day }}{{ or .Result.date_year .Result.date_day }}{{ else }}now{{ end }}"
|
||||||
downloadvolumefactor:
|
downloadvolumefactor:
|
||||||
case:
|
case:
|
||||||
img[src="./images/tracker/3_bookmark.gif"]: 0 # gold 100% free
|
img[src="./images/tracker/3_bookmark.gif"]: 0 # gold 100% free
|
||||||
|
@@ -137,7 +137,6 @@ search:
|
|||||||
description:
|
description:
|
||||||
selector: a[href^="browse.php?cat="] img
|
selector: a[href^="browse.php?cat="] img
|
||||||
attribute: alt
|
attribute: alt
|
||||||
optional: true
|
|
||||||
poster:
|
poster:
|
||||||
selector: td[onmouseover]
|
selector: td[onmouseover]
|
||||||
attribute: onmouseover
|
attribute: onmouseover
|
||||||
|
@@ -215,7 +215,7 @@ search:
|
|||||||
leechers:
|
leechers:
|
||||||
selector: td:nth-child(6)
|
selector: td:nth-child(6)
|
||||||
# dates come in four flavours:
|
# dates come in four flavours:
|
||||||
date:
|
date_day:
|
||||||
# now
|
# now
|
||||||
# Today 09:10
|
# Today 09:10
|
||||||
# Yesterday 13:04
|
# Yesterday 13:04
|
||||||
@@ -230,7 +230,7 @@ search:
|
|||||||
args: ["сегодня", "Today"]
|
args: ["сегодня", "Today"]
|
||||||
- name: replace
|
- name: replace
|
||||||
args: ["вчера", "Yesterday"]
|
args: ["вчера", "Yesterday"]
|
||||||
date:
|
date_year:
|
||||||
# 24.10.2017 at 23:44
|
# 24.10.2017 at 23:44
|
||||||
selector: td:nth-child(7):contains(".")
|
selector: td:nth-child(7):contains(".")
|
||||||
optional: true
|
optional: true
|
||||||
@@ -241,6 +241,8 @@ search:
|
|||||||
args: " +00:00" # auto adjusted by site account profile
|
args: " +00:00" # auto adjusted by site account profile
|
||||||
- name: dateparse
|
- name: dateparse
|
||||||
args: "02.01.2006 15:04 -07:00"
|
args: "02.01.2006 15:04 -07:00"
|
||||||
|
date:
|
||||||
|
text: "{{ if or .Result.date_year .Result.date_day }}{{ or .Result.date_year .Result.date_day }}{{ else }}now{{ end }}"
|
||||||
downloadvolumefactor:
|
downloadvolumefactor:
|
||||||
case:
|
case:
|
||||||
a.r1: 0 # gold
|
a.r1: 0 # gold
|
||||||
|
Reference in New Issue
Block a user