mirror of
https://github.com/Jackett/Jackett.git
synced 2025-12-19 12:58:04 +01:00
assorted: conform to yaml standards by avoiding duplicate keys #11917
This commit is contained in:
@@ -163,10 +163,6 @@ search:
|
||||
text: 1
|
||||
date:
|
||||
selector: time
|
||||
filters:
|
||||
# datetime is auto adjusted by site account profile
|
||||
- name: replace
|
||||
args: ["T", " "]
|
||||
downloadvolumefactor:
|
||||
text: 1
|
||||
uploadvolumefactor:
|
||||
|
||||
@@ -120,7 +120,7 @@ search:
|
||||
download:
|
||||
selector: td a[href^="download.php?torrent="]
|
||||
attribute: href
|
||||
imdb:
|
||||
imdbid:
|
||||
selector: td a[href*="imdb.com/title/tt"]
|
||||
attribute: href
|
||||
files:
|
||||
|
||||
@@ -119,14 +119,14 @@ search:
|
||||
args: "-torrent-(\\d+).html"
|
||||
- name: prepend
|
||||
args: "download.php?id="
|
||||
date:
|
||||
date_year:
|
||||
# 2021-08-13<br>09:32:42
|
||||
selector: td:nth-child(5):contains("-")
|
||||
optional: true
|
||||
filters:
|
||||
- name: dateparse
|
||||
args: "2006-01-0215:04:05"
|
||||
date:
|
||||
date_ago:
|
||||
# 2 ngày<br/>23 giờ
|
||||
selector: td:nth-child(5):not(:contains("-"))
|
||||
optional: true
|
||||
@@ -142,6 +142,8 @@ search:
|
||||
- name: re_replace
|
||||
args: ["giờ", "hours "]
|
||||
- name: timeago
|
||||
date:
|
||||
text: "{{ if or .Result.date_year .Result.date_ago }}{{ or .Result.date_year .Result.date_ago }}{{ else }}now{{ end }}"
|
||||
size:
|
||||
selector: td:nth-child(6)
|
||||
seeders:
|
||||
|
||||
@@ -42,19 +42,19 @@ search:
|
||||
download:
|
||||
selector: a
|
||||
attribute: href
|
||||
date:
|
||||
text: now
|
||||
date:
|
||||
date_optional:
|
||||
optional: true
|
||||
selector: td.date
|
||||
filters:
|
||||
- name: dateparse
|
||||
args: "2006-01-02 15:04"
|
||||
size:
|
||||
text: "128 MB"
|
||||
size:
|
||||
date:
|
||||
text: "{{ if .Result.date_optional }}{{ .Result.date_optional }}{{ else }}now{{ end }}"
|
||||
size_optional:
|
||||
optional: true
|
||||
selector: td.bytes
|
||||
size:
|
||||
text: "{{ if .Result.size_optional }}{{ .Result.size_optional }}{{ else }}128 MB{{ end }}"
|
||||
seeders:
|
||||
selector: "{{ if .Keywords }}td:nth-child(2){{ else }}td:nth-child(4){{ end }}"
|
||||
leechers:
|
||||
|
||||
@@ -134,14 +134,16 @@ search:
|
||||
filters:
|
||||
- name: split
|
||||
args: ["=", -1]
|
||||
title:
|
||||
title_default:
|
||||
selector: td:nth-child(2) a:last-of-type
|
||||
title:
|
||||
title_optional:
|
||||
selector: td:nth-child(2) a:last-of-type:contains("[PuyaSubs!] ")
|
||||
optional: true
|
||||
filters:
|
||||
- name: append
|
||||
args: " Spanish"
|
||||
title:
|
||||
text: "{{ if .Result.title_optional }}{{ .Result.title_optional }}{{ else }}{{ .Result.title_default }}{{ end }}"
|
||||
details:
|
||||
selector: td:nth-child(2) a:last-of-type
|
||||
attribute: href
|
||||
@@ -161,33 +163,21 @@ search:
|
||||
args: " -00:00" # GMT
|
||||
- name: dateparse
|
||||
args: "2006-01-02 15:04 -07:00"
|
||||
seeders:
|
||||
selector: td:nth-child(6):empty
|
||||
optional: true
|
||||
filters:
|
||||
- name: append
|
||||
args: 0
|
||||
seeders:
|
||||
seeders_optional:
|
||||
selector: td:nth-child(6):not(:empty)
|
||||
optional: true
|
||||
leechers:
|
||||
selector: td:nth-child(7):empty
|
||||
optional: true
|
||||
filters:
|
||||
- name: append
|
||||
args: 0
|
||||
leechers:
|
||||
seeders:
|
||||
text: "{{ if .Result.seeders_optional }}{{ .Result.seeders_optional }}{{ else }}0{{ end }}"
|
||||
leechers_optional:
|
||||
selector: td:nth-child(7):not(:empty)
|
||||
optional: true
|
||||
grabs:
|
||||
selector: td:nth-child(8):empty
|
||||
optional: true
|
||||
filters:
|
||||
- name: append
|
||||
args: 0
|
||||
grabs:
|
||||
leechers:
|
||||
text: "{{ if .Result.leechers_optional }}{{ .Result.leechers_optional }}{{ else }}0{{ end }}"
|
||||
grabs_optional:
|
||||
selector: td:nth-child(8):not(:empty)
|
||||
optional: true
|
||||
grabs:
|
||||
text: "{{ if .Result.grabs_optional }}{{ .Result.grabs_optional }}{{ else }}0{{ end }}"
|
||||
downloadvolumefactor:
|
||||
text: 0
|
||||
uploadvolumefactor:
|
||||
|
||||
@@ -121,16 +121,16 @@ search:
|
||||
selector: td:nth-child(3)
|
||||
filters:
|
||||
- name: timeago
|
||||
files:
|
||||
text: 1
|
||||
files:
|
||||
files_optional:
|
||||
selector: td:nth-child(4)
|
||||
optional: true
|
||||
size:
|
||||
text: "256 MB"
|
||||
size:
|
||||
files:
|
||||
text: "{{ if .Result.files_optional }}{{ .Result.files_optional }}{{ else }}1{{ end }}"
|
||||
size_optional:
|
||||
selector: td:nth-child(5)
|
||||
optional: true
|
||||
size:
|
||||
text: "{{ if .Result.size_optional }}{{ .Result.size_optional }}{{ else }}256 MB{{ end }}"
|
||||
seeders:
|
||||
text: 1
|
||||
leechers:
|
||||
|
||||
@@ -123,12 +123,14 @@ search:
|
||||
td[title="嘻哈"]: 17
|
||||
td[title="音乐剧"]: 18
|
||||
td[title="其它类型"]: 9
|
||||
title:
|
||||
title_default:
|
||||
selector: a[href^="plugin_details.php?id="]
|
||||
title:
|
||||
title_optional:
|
||||
optional: true
|
||||
selector: a[title][href^="plugin_details.php?id="]
|
||||
attribute: title
|
||||
title:
|
||||
text: "{{ if .Result.title_optional }}{{ .Result.title_optional }}{{ else }}{{ .Result.title_default }}{{ end }}"
|
||||
details:
|
||||
selector: a[href^="plugin_details.php?id="]
|
||||
attribute: href
|
||||
@@ -143,7 +145,7 @@ search:
|
||||
args: "https://images.weserv.nl/?url={{ .Config.sitelink }}" # for display on dashboard
|
||||
- name: append
|
||||
args: "&w=180&h=270" # for display on dashboard
|
||||
date:
|
||||
date_elapsed:
|
||||
# time type: time elapsed (default)
|
||||
selector: td:nth-child(6) > span[title]
|
||||
attribute: title
|
||||
@@ -153,7 +155,7 @@ search:
|
||||
args: " +08:00" # CST
|
||||
- name: dateparse
|
||||
args: "2006-01-02 15:04:05 -07:00"
|
||||
date:
|
||||
date_added:
|
||||
# time added
|
||||
selector: td:nth-child(6):not(:has(span))
|
||||
optional: true
|
||||
@@ -162,6 +164,8 @@ search:
|
||||
args: " +08:00" # CST
|
||||
- name: dateparse
|
||||
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:
|
||||
selector: td:nth-child(7)
|
||||
seeders:
|
||||
|
||||
@@ -98,12 +98,14 @@ search:
|
||||
selector: table.torrents > tbody > tr:has(table.torrentname)
|
||||
|
||||
fields:
|
||||
title:
|
||||
title_default:
|
||||
selector: a[href^="details.php?id="]
|
||||
title:
|
||||
title_optional:
|
||||
optional: true
|
||||
selector: a[title][href^="details.php?id="]
|
||||
attribute: title
|
||||
title:
|
||||
text: "{{ if .Result.title_optional }}{{ .Result.title_optional }}{{ else }}{{ .Result.title_default }}{{ end }}"
|
||||
category:
|
||||
selector: a[href^="?cat="]
|
||||
attribute: href
|
||||
@@ -116,10 +118,10 @@ search:
|
||||
download:
|
||||
selector: a[href^="download.php?id="]
|
||||
attribute: href
|
||||
imdb:
|
||||
imdbid:
|
||||
selector: div.imdb_100 > a
|
||||
attribute: href
|
||||
date:
|
||||
date_elapsed:
|
||||
# time type: time elapsed (default)
|
||||
selector: td:nth-child(4) > span[title]
|
||||
attribute: title
|
||||
@@ -129,7 +131,7 @@ search:
|
||||
args: " +08:00" # CST
|
||||
- name: dateparse
|
||||
args: "2006-01-02 15:04:05 -07:00"
|
||||
date:
|
||||
date_added:
|
||||
# time added
|
||||
selector: td:nth-child(4):not(:has(span))
|
||||
optional: true
|
||||
@@ -138,6 +140,8 @@ search:
|
||||
args: " +08:00" # CST
|
||||
- name: dateparse
|
||||
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:
|
||||
selector: td:nth-child(5)
|
||||
seeders:
|
||||
|
||||
@@ -72,12 +72,14 @@ search:
|
||||
selector: table.torrents > tbody > tr:has(table.torrentname)
|
||||
|
||||
fields:
|
||||
title:
|
||||
title_default:
|
||||
selector: a[href^="details.php?id="]
|
||||
title:
|
||||
title_optional:
|
||||
optional: true
|
||||
selector: a[title][href^="details.php?id="]
|
||||
attribute: title
|
||||
title:
|
||||
text: "{{ if .Result.title_optional }}{{ .Result.title_optional }}{{ else }}{{ .Result.title_default }}{{ end }}"
|
||||
category:
|
||||
selector: a[href^="?cat="]
|
||||
attribute: href
|
||||
@@ -90,7 +92,7 @@ search:
|
||||
download:
|
||||
selector: a[href^="download.php?id="]
|
||||
attribute: href
|
||||
date:
|
||||
date_elapsed:
|
||||
# time type: time elapsed (default)
|
||||
selector: td.rowfollow:nth-child(4) > span[title]
|
||||
attribute: title
|
||||
@@ -100,7 +102,7 @@ search:
|
||||
args: " +08:00" # CST
|
||||
- name: dateparse
|
||||
args: "2006-01-02 15:04:05 -07:00"
|
||||
date:
|
||||
date_added:
|
||||
# time added
|
||||
selector: td.rowfollow:nth-child(4):not(:has(span))
|
||||
optional: true
|
||||
@@ -109,6 +111,8 @@ search:
|
||||
args: " +08:00" # CST
|
||||
- name: dateparse
|
||||
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:
|
||||
selector: td.rowfollow:nth-child(5)
|
||||
seeders:
|
||||
|
||||
@@ -162,7 +162,7 @@ search:
|
||||
- name: regexp
|
||||
args: "src=(.+?) width="
|
||||
# two flavours
|
||||
date:
|
||||
date_day:
|
||||
# Yesterday
|
||||
# Вчера
|
||||
selector: td:nth-child(6):not(:contains("/"))
|
||||
@@ -174,7 +174,7 @@ search:
|
||||
args: ["сегодня", "Today"]
|
||||
- name: replace
|
||||
args: ["вчера", "Yesterday"]
|
||||
date:
|
||||
date_year:
|
||||
# 14/03/2019
|
||||
selector: td:nth-child(6):contains("/")
|
||||
optional: true
|
||||
@@ -183,6 +183,8 @@ search:
|
||||
args: " +00:00" # auto adjusted by site account profile
|
||||
- name: dateparse
|
||||
args: "02/01/2006 -07:00"
|
||||
date:
|
||||
text: "{{ if or .Result.date_year .Result.date_day }}{{ or .Result.date_year .Result.date_day }}{{ else }}now{{ end }}"
|
||||
size:
|
||||
selector: td:nth-child(7)
|
||||
seeders:
|
||||
|
||||
@@ -141,10 +141,10 @@ search:
|
||||
args: ["./pic/noposter.png", ""]
|
||||
files:
|
||||
selector: td:nth-last-child(8)
|
||||
date:
|
||||
date_day:
|
||||
selector: td:nth-last-child(6):contains("day")
|
||||
optional: true
|
||||
date:
|
||||
date_year:
|
||||
selector: td:nth-last-child(6):not(:contains("day"))
|
||||
optional: true
|
||||
filters:
|
||||
@@ -152,6 +152,8 @@ search:
|
||||
args: " +00:00" # auto adjusted by site account profile
|
||||
- name: dateparse
|
||||
args: "Jan 2 2006 03:04 PM -07:00"
|
||||
date:
|
||||
text: "{{ if or .Result.date_year .Result.date_day }}{{ or .Result.date_year .Result.date_day }}{{ else }}now{{ end }}"
|
||||
size:
|
||||
selector: td:nth-last-child(5)
|
||||
grabs:
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
---
|
||||
---
|
||||
id: parnuxi
|
||||
name: ParnuXi
|
||||
description: "ParnuXi is a RUSSIAN Public Torrent Tracker for 3X"
|
||||
@@ -229,7 +229,7 @@ search:
|
||||
selector: span.leech
|
||||
grabs:
|
||||
selector: span.complet
|
||||
find_date:
|
||||
date_optional:
|
||||
# (09.03.2020)
|
||||
selector: a.topictitle
|
||||
optional: true
|
||||
@@ -240,7 +240,7 @@ search:
|
||||
- name: dateparse
|
||||
args: "02.01.2006"
|
||||
date:
|
||||
text: "{{ if .Result.find_date }}{{ .Result.find_date }}{{ else }}now{{ end }}"
|
||||
text: "{{ if .Result.date_optional }}{{ .Result.date_optional }}{{ else }}now{{ end }}"
|
||||
downloadvolumefactor:
|
||||
text: 0
|
||||
uploadvolumefactor:
|
||||
|
||||
@@ -153,32 +153,28 @@ search:
|
||||
download:
|
||||
selector: a.topictitle
|
||||
attribute: href
|
||||
size:
|
||||
text: "1 GB"
|
||||
size:
|
||||
size_optional:
|
||||
selector: div.list-inner div[style="float:right;"]
|
||||
optional: true
|
||||
seeders:
|
||||
text: 0
|
||||
seeders:
|
||||
size:
|
||||
text: "{{ if .Result.size_optional }}{{ .Result.size_optional }}{{ else }}1 GB{{ end }}"
|
||||
seeders_optional:
|
||||
selector: dd.posts span.my_tt.seed
|
||||
seeders:
|
||||
text: "{{ if .Result.seeders_optional }}{{ .Result.seeders_optional }}{{ else }}0{{ end }}"
|
||||
optional: true
|
||||
leechers:
|
||||
text: 0
|
||||
leechers:
|
||||
leechers_optional:
|
||||
selector: dd.posts span.my_tt.leech
|
||||
optional: true
|
||||
grabs:
|
||||
text: 0
|
||||
grabs:
|
||||
leechers:
|
||||
text: "{{ if .Result.leechers_optional }}{{ .Result.leechers_optional }}{{ else }}0{{ end }}"
|
||||
grabs_optional:
|
||||
selector: dd.views span.my_tt.complet
|
||||
optional: true
|
||||
grabs:
|
||||
text: "{{ if .Result.grabs_optional }}{{ .Result.grabs_optional }}{{ else }}0{{ end }}"
|
||||
date:
|
||||
selector: div.left-box time
|
||||
filters:
|
||||
# datetime is auto adjusted by site account profile
|
||||
- name: replace
|
||||
args: ["T", " "]
|
||||
downloadvolumefactor:
|
||||
text: 1
|
||||
uploadvolumefactor:
|
||||
|
||||
@@ -114,7 +114,7 @@ search:
|
||||
selector: td:nth-last-child(2)
|
||||
grabs:
|
||||
selector: td:nth-last-child(1)
|
||||
imdb:
|
||||
imdbid:
|
||||
selector: a[href*="imdb.com/title/tt"]
|
||||
attribute: href
|
||||
tmdbid:
|
||||
|
||||
@@ -718,7 +718,7 @@ search:
|
||||
size:
|
||||
selector: td > u
|
||||
# 2 date flavours for 3 languages
|
||||
date:
|
||||
date_day:
|
||||
# 15:04
|
||||
optional: true
|
||||
selector: td[title="Добавлен"] p:first-of-type:not(:contains("-")), td[title="Доданий"] p:first-of-type:not(:contains("-")), td[title="Added"] p:first-of-type:not(:contains("-"))
|
||||
@@ -727,7 +727,7 @@ search:
|
||||
args: " +03:00" # MSK
|
||||
- name: dateparse
|
||||
args: "15:04 -07:00"
|
||||
date:
|
||||
date_year:
|
||||
# 15:04 24-02-19
|
||||
optional: true
|
||||
selector: td[title="Добавлен"] p:first-of-type:contains("-"), td[title="Доданий"] p:first-of-type:contains("-"), td[title="Added"] p:first-of-type:contains("-")
|
||||
@@ -736,6 +736,8 @@ search:
|
||||
args: " +03:00" # MSK
|
||||
- name: dateparse
|
||||
args: "15:04 2-01-06 -07:00"
|
||||
date:
|
||||
text: "{{ if or .Result.date_year .Result.date_day }}{{ or .Result.date_year .Result.date_day }}{{ else }}now{{ end }}"
|
||||
# Russian and Ukranian and English languages are supported
|
||||
grabs:
|
||||
selector: td[title^="Ответов"], td[title^="Відповідей"], td[title^="Replies"]
|
||||
|
||||
@@ -732,7 +732,7 @@ search:
|
||||
size:
|
||||
selector: td > u
|
||||
# 2 date flavours for 3 languages
|
||||
date:
|
||||
date_day:
|
||||
# 15:04
|
||||
optional: true
|
||||
selector: td[title="Добавлен"] p:first-of-type:not(:contains("-")), td[title="Доданий"] p:first-of-type:not(:contains("-")), td[title="Added"] p:first-of-type:not(:contains("-"))
|
||||
@@ -741,7 +741,7 @@ search:
|
||||
args: " +03:00" # MSK
|
||||
- name: dateparse
|
||||
args: "15:04 -07:00"
|
||||
date:
|
||||
date_year:
|
||||
# 15:04 24-02-19
|
||||
optional: true
|
||||
selector: td[title="Добавлен"] p:first-of-type:contains("-"), td[title="Доданий"] p:first-of-type:contains("-"), td[title="Added"] p:first-of-type:contains("-")
|
||||
@@ -750,6 +750,8 @@ search:
|
||||
args: " +03:00" # MSK
|
||||
- name: dateparse
|
||||
args: "15:04 2-01-06 -07:00"
|
||||
date:
|
||||
text: "{{ if or .Result.date_year .Result.date_day }}{{ or .Result.date_year .Result.date_day }}{{ else }}now{{ end }}"
|
||||
# Russian and Ukranian and English languages are supported
|
||||
grabs:
|
||||
selector: td[title^="Ответов"], td[title^="Відповідей"], td[title^="Replies"]
|
||||
|
||||
@@ -131,7 +131,7 @@ search:
|
||||
download:
|
||||
selector: a[href^="downloadssl.php?id="]
|
||||
attribute: href
|
||||
description:
|
||||
genre:
|
||||
optional: true
|
||||
selector: td:nth-child(2) > small
|
||||
filters:
|
||||
@@ -139,7 +139,7 @@ search:
|
||||
args: "Genre: "
|
||||
- name: append
|
||||
args: "\n<br>"
|
||||
description:
|
||||
language:
|
||||
optional: true
|
||||
selector: img[src="pic/pl.png"]
|
||||
filters:
|
||||
@@ -147,7 +147,7 @@ search:
|
||||
args: "Language: polish\n<br>"
|
||||
- name: prepend
|
||||
args: "{{ .Result.description }}"
|
||||
description:
|
||||
subbed:
|
||||
optional: true
|
||||
selector: img[src="pic/napisy.png"]
|
||||
filters:
|
||||
@@ -155,7 +155,9 @@ search:
|
||||
args: "Subbed\n<br>"
|
||||
- name: prepend
|
||||
args: "{{ .Result.description }}"
|
||||
imdb:
|
||||
description:
|
||||
text: "{{ .Result.genre }}{{ .Result.language }}{{ .Result.subbed }}"
|
||||
imdbid:
|
||||
selector: a[href*="imdb.com/title/tt"]
|
||||
date:
|
||||
selector: td:nth-child(4)
|
||||
|
||||
@@ -80,12 +80,12 @@ search:
|
||||
poster:
|
||||
selector: div.torrent-name-hover img
|
||||
attribute: src
|
||||
date:
|
||||
date_day:
|
||||
selector: td:nth-child(4) div:nth-child(2):contains("ago")
|
||||
optional: true
|
||||
filters:
|
||||
- name: timeago
|
||||
date:
|
||||
date_year:
|
||||
selector: td:nth-child(4) div:nth-child(2):contains("-")
|
||||
optional: true
|
||||
filters:
|
||||
@@ -93,6 +93,8 @@ search:
|
||||
args: " -07:00" # PDT
|
||||
- name: dateparse
|
||||
args: "3:04pm 2006-1-2 -07:00"
|
||||
date:
|
||||
text: "{{ if or .Result.date_year .Result.date_day }}{{ or .Result.date_year .Result.date_day }}{{ else }}now{{ end }}"
|
||||
size:
|
||||
selector: td:nth-child(5) div:nth-child(1)
|
||||
files:
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
---
|
||||
---
|
||||
id: pornorip
|
||||
name: PornoRip
|
||||
description: "PornoRip is a RUSSIAN Public Torrent Tracker for 3X"
|
||||
@@ -152,7 +152,7 @@ search:
|
||||
selector: span.leech
|
||||
grabs:
|
||||
selector: span.complet
|
||||
date:
|
||||
date_day:
|
||||
# Сегодня, 12:35
|
||||
selector: dt:contains("Сегодня"), dt:contains("Вчера")
|
||||
optional: true
|
||||
@@ -164,7 +164,7 @@ search:
|
||||
- name: replace
|
||||
args: ["Вчера", "Yesterday"]
|
||||
- name: fuzzytime
|
||||
date:
|
||||
date_ago:
|
||||
# 46 минут назад
|
||||
selector: dt:contains("назад")
|
||||
optional: true
|
||||
@@ -180,7 +180,7 @@ search:
|
||||
- name: replace
|
||||
args: ["часов", "hours"]
|
||||
- name: timeago
|
||||
date:
|
||||
date_year:
|
||||
# 12 янв 2019, 11:26
|
||||
selector: dt:not(:contains("Сегодня")):not(:contains("Вчера")):not(:contains("назад"))
|
||||
optional: true
|
||||
@@ -215,6 +215,8 @@ search:
|
||||
args: " +03:00" # MSK
|
||||
- name: dateparse
|
||||
args: "02 Jan 2006, 15:04 -07:00"
|
||||
date:
|
||||
text: "{{ if or .Result.date_year .Result.date_ago .Result.date_day }}{{ or .Result.date_year .Result.date_ago .Result.date_day }}{{ else }}now{{ end }}"
|
||||
downloadvolumefactor:
|
||||
text: 0
|
||||
uploadvolumefactor:
|
||||
|
||||
@@ -56,7 +56,6 @@ search:
|
||||
exactname: ""
|
||||
replyless: 0
|
||||
replylimit: 0
|
||||
searchdate: 0
|
||||
beforeafter: after
|
||||
sortby: "{{ .Config.sort }}"
|
||||
resorder: "{{ .Config.type }}"
|
||||
|
||||
@@ -83,7 +83,7 @@ search:
|
||||
poster:
|
||||
selector: img[src*="/uploads/posts/"]
|
||||
attribute: src
|
||||
date:
|
||||
date_today:
|
||||
# Сегодня, 19:56
|
||||
selector: div.mini:contains("Сегодня")
|
||||
optional: true
|
||||
@@ -93,7 +93,7 @@ search:
|
||||
- name: replace
|
||||
args: ["Сегодня", "Today"]
|
||||
- name: fuzzytime
|
||||
date:
|
||||
date_yday:
|
||||
# Вчера, 20:01
|
||||
selector: div.mini:contains("Вчера")
|
||||
optional: true
|
||||
@@ -103,7 +103,7 @@ search:
|
||||
- name: replace
|
||||
args: ["Вчера", "Yesterday"]
|
||||
- name: fuzzytime
|
||||
date:
|
||||
date_year:
|
||||
# 20-09-2020, 19:41
|
||||
selector: div.mini:contains("-")
|
||||
optional: true
|
||||
@@ -114,6 +114,8 @@ search:
|
||||
args: " +03:00" # MSK
|
||||
- name: dateparse
|
||||
args: "2-01-2006, 15:04 -07:00"
|
||||
date:
|
||||
text: "{{ if or .Result.date_year .Result.date_today .Result.date_yday }}{{ or .Result.date_year .Result.date_today .Result.date_yday }}{{ else }}now{{ end }}"
|
||||
size:
|
||||
text: "1 GB"
|
||||
seeders:
|
||||
|
||||
@@ -120,12 +120,14 @@ search:
|
||||
filters:
|
||||
- name: querystring
|
||||
args: cat
|
||||
title:
|
||||
title_default:
|
||||
selector: a[href^="details.php?id="]
|
||||
title:
|
||||
title_optional:
|
||||
optional: true
|
||||
selector: a[title][href^="details.php?id="]
|
||||
attribute: title
|
||||
title:
|
||||
text: "{{ if .Result.title_optional }}{{ .Result.title_optional }}{{ else }}{{ .Result.title_default }}{{ end }}"
|
||||
details:
|
||||
selector: a[href^="details.php?id="]
|
||||
attribute: href
|
||||
@@ -135,10 +137,10 @@ search:
|
||||
poster:
|
||||
selector: img[data-orig]
|
||||
attribute: data-orig
|
||||
imdb:
|
||||
imdbid:
|
||||
selector: a[href*="imdb.com/title/tt"]
|
||||
attribute: href
|
||||
date:
|
||||
date_elapsed:
|
||||
# time type: time elapsed (default)
|
||||
selector: td.rowfollow:nth-of-type(4) > span[title]
|
||||
attribute: title
|
||||
@@ -148,7 +150,7 @@ search:
|
||||
args: " +08:00" # CST
|
||||
- name: dateparse
|
||||
args: "2006-01-02 15:04:05 -07:00"
|
||||
date:
|
||||
date_added:
|
||||
# time added
|
||||
selector: td.rowfollow:nth-of-type(4):not(:has(span))
|
||||
optional: true
|
||||
@@ -157,6 +159,8 @@ search:
|
||||
args: " +08:00" # CST
|
||||
- name: dateparse
|
||||
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:
|
||||
selector: td.rowfollow:nth-of-type(5)
|
||||
seeders:
|
||||
|
||||
@@ -122,7 +122,7 @@ search:
|
||||
details:
|
||||
selector: a.torrentlink
|
||||
attribute: href
|
||||
imdb:
|
||||
imdbid:
|
||||
selector: a[href*="imdb.com/title/tt"]
|
||||
attribute: href
|
||||
files:
|
||||
|
||||
@@ -90,7 +90,7 @@ search:
|
||||
filters:
|
||||
- name: replace
|
||||
args: ["details.php", "download.php"]
|
||||
imdb:
|
||||
imdbid:
|
||||
selector: a[href*="imdb.com/title/tt"]
|
||||
attribute: href
|
||||
size:
|
||||
@@ -101,7 +101,7 @@ search:
|
||||
selector: td:nth-child(6)
|
||||
leechers:
|
||||
selector: td:nth-child(7)
|
||||
date:
|
||||
date_elapsed:
|
||||
# time type: time elapsed (default)
|
||||
selector: td:nth-child(4) > span[title]
|
||||
attribute: title
|
||||
@@ -111,7 +111,7 @@ search:
|
||||
args: " +08:00" # CST
|
||||
- name: dateparse
|
||||
args: "2006-01-02 15:04:05 -07:00"
|
||||
date:
|
||||
date_added:
|
||||
# time added
|
||||
selector: td:nth-child(4):not(:has(span))
|
||||
optional: true
|
||||
@@ -120,6 +120,8 @@ search:
|
||||
args: " +08:00" # CST
|
||||
- name: dateparse
|
||||
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 }}"
|
||||
downloadvolumefactor:
|
||||
case:
|
||||
img.pro_free: 0
|
||||
|
||||
@@ -95,22 +95,24 @@ search:
|
||||
filters:
|
||||
- name: querystring
|
||||
args: cat
|
||||
title:
|
||||
title_default:
|
||||
selector: a[href^="details.php?id="]
|
||||
title:
|
||||
title_optional:
|
||||
optional: true
|
||||
selector: a[title][href^="details.php?id="]
|
||||
attribute: title
|
||||
title:
|
||||
text: "{{ if .Result.title_optional }}{{ .Result.title_optional }}{{ else }}{{ .Result.title_default }}{{ end }}"
|
||||
details:
|
||||
selector: a[href^="details.php?id="]
|
||||
attribute: href
|
||||
download:
|
||||
selector: a[href^="download.php?id="]
|
||||
attribute: href
|
||||
imdb:
|
||||
imdbid:
|
||||
selector: a[href*="imdb.com/title/tt"]
|
||||
attribute: href
|
||||
date:
|
||||
date_elapsed:
|
||||
# time type: time elapsed (default)
|
||||
selector: td:nth-child(4) > span[title]
|
||||
attribute: title
|
||||
@@ -120,7 +122,7 @@ search:
|
||||
args: " +08:00" # CST
|
||||
- name: dateparse
|
||||
args: "2006-01-02 15:04:05 -07:00"
|
||||
date:
|
||||
date_added:
|
||||
# time added
|
||||
selector: td:nth-child(4):not(:has(span))
|
||||
optional: true
|
||||
@@ -129,6 +131,8 @@ search:
|
||||
args: " +08:00" # CST
|
||||
- name: dateparse
|
||||
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:
|
||||
selector: td:nth-child(5)
|
||||
seeders:
|
||||
|
||||
@@ -99,12 +99,14 @@ search:
|
||||
filters:
|
||||
- name: querystring
|
||||
args: cat
|
||||
title:
|
||||
title_default:
|
||||
selector: table.torrentname td a[href^="details.php?id="]
|
||||
title:
|
||||
title_optional:
|
||||
optional: true
|
||||
selector: a[title][href^="details.php?id="]
|
||||
attribute: title
|
||||
title:
|
||||
text: "{{ if .Result.title_optional }}{{ .Result.title_optional }}{{ else }}{{ .Result.title_default }}{{ end }}"
|
||||
details:
|
||||
selector: a[href^="details.php?id="]
|
||||
attribute: href
|
||||
@@ -117,7 +119,7 @@ search:
|
||||
filters:
|
||||
- name: replace
|
||||
args: ["pic/imdb_pic/nophoto.gif", ""]
|
||||
date:
|
||||
date_elapsed:
|
||||
# time type: time elapsed (default)
|
||||
selector: td:nth-child(6) > span[title]
|
||||
attribute: title
|
||||
@@ -127,7 +129,7 @@ search:
|
||||
args: " +08:00" # CST
|
||||
- name: dateparse
|
||||
args: "2006-01-02 15:04:05 -07:00"
|
||||
date:
|
||||
date_added:
|
||||
# time added
|
||||
selector: td:nth-child(6):not(:has(span))
|
||||
optional: true
|
||||
@@ -136,6 +138,8 @@ search:
|
||||
args: " +08:00" # CST
|
||||
- name: dateparse
|
||||
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:
|
||||
selector: td:nth-child(7)
|
||||
seeders:
|
||||
|
||||
@@ -93,12 +93,14 @@ search:
|
||||
filters:
|
||||
- name: querystring
|
||||
args: cat
|
||||
title:
|
||||
title_default:
|
||||
selector: a[href^="details.php?id="]
|
||||
title:
|
||||
title_optional:
|
||||
optional: true
|
||||
selector: a[title][href^="details.php?id="]
|
||||
attribute: title
|
||||
title:
|
||||
text: "{{ if .Result.title_optional }}{{ .Result.title_optional }}{{ else }}{{ .Result.title_default }}{{ end }}"
|
||||
details:
|
||||
selector: a[href^="details.php?id="]
|
||||
attribute: href
|
||||
@@ -108,10 +110,10 @@ search:
|
||||
poster:
|
||||
selector: td.torrentimg > img
|
||||
attribute: src
|
||||
imdb:
|
||||
imdbid:
|
||||
selector: a[href*="imdb.com/title/tt"]
|
||||
attribute: href
|
||||
date:
|
||||
date_elapsed:
|
||||
# time type: time elapsed (default)
|
||||
selector: td:nth-child(5) > span[title]
|
||||
attribute: title
|
||||
@@ -121,7 +123,7 @@ search:
|
||||
args: " +08:00" # CST
|
||||
- name: dateparse
|
||||
args: "2006-01-02 15:04:05 -07:00"
|
||||
date:
|
||||
date_added:
|
||||
# time added
|
||||
selector: td:nth-child(5):not(:has(span))
|
||||
optional: true
|
||||
@@ -130,6 +132,8 @@ search:
|
||||
args: " +08:00" # CST
|
||||
- name: dateparse
|
||||
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:
|
||||
selector: td:nth-child(6)
|
||||
seeders:
|
||||
|
||||
@@ -116,7 +116,7 @@ search:
|
||||
args: "&w=180&h=270" # for display on dashboard
|
||||
- name: replace
|
||||
args: ["https://images.weserv.nl/?url=https://via.placeholder.com/600x900&w=180&h=270", ""]
|
||||
imdb:
|
||||
imdbid:
|
||||
selector: a[href*="imdb.com/title/tt"]
|
||||
attribute: href
|
||||
tmdbid:
|
||||
|
||||
@@ -135,16 +135,16 @@ search:
|
||||
args: " +01:00" # CET
|
||||
- name: dateparse
|
||||
args: "2 January 2006 15:04:05 -07:00"
|
||||
seeders:
|
||||
text: 0
|
||||
seeders:
|
||||
seeders_optional:
|
||||
optional: true
|
||||
selector: td:nth-child(4) table tr:nth-child(3) td:nth-child(5) font b
|
||||
leechers:
|
||||
text: 0
|
||||
leechers:
|
||||
seeders:
|
||||
text: "{{ if .Result.seeders_optional }}{{ .Result.seeders_optional }}{{ else }}0{{ end }}"
|
||||
leechers_optional:
|
||||
optional: true
|
||||
selector: td:nth-child(4) table tr:nth-child(3) td:nth-child(5) font font b
|
||||
leechers:
|
||||
text: "{{ if .Result.leechers_optional }}{{ .Result.leechers_optional }}{{ else }}0{{ end }}"
|
||||
downloadvolumefactor:
|
||||
text: 0
|
||||
uploadvolumefactor:
|
||||
|
||||
Reference in New Issue
Block a user