mirror of https://github.com/Jackett/Jackett
assorted: conform to yaml standards by avoiding duplicate keys #11917
This commit is contained in:
parent
ef224a5293
commit
15d28af54f
|
@ -80,11 +80,13 @@ search:
|
|||
selector: table#sortabletable > tbody > tr:has(a[href])
|
||||
|
||||
fields:
|
||||
title:
|
||||
title_default:
|
||||
selector: td:nth-child(2) a
|
||||
title:
|
||||
title_optional:
|
||||
optional: true
|
||||
selector: div.tooltip-content > div
|
||||
title:
|
||||
text: "{{ if .Result.title_optional }}{{ .Result.title_optional }}{{ else }}{{ .Result.title_default }}{{ end }}"
|
||||
category:
|
||||
selector: a[href*="/browse.php?category="]
|
||||
attribute: href
|
||||
|
|
|
@ -114,10 +114,10 @@ search:
|
|||
attribute: href
|
||||
files:
|
||||
selector: td:nth-of-type(5)
|
||||
date:
|
||||
date_day:
|
||||
selector: td:nth-of-type(7):contains("day")
|
||||
optional: true
|
||||
date:
|
||||
date_year:
|
||||
selector: td:nth-of-type(7):not(:contains("day"))
|
||||
optional: true
|
||||
filters:
|
||||
|
@ -125,13 +125,12 @@ search:
|
|||
args: " -07:00" # PDT
|
||||
- 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-of-type(8)
|
||||
grabs:
|
||||
selector: td:nth-of-type(9)
|
||||
filters:
|
||||
- name: regexp
|
||||
args: ([\d]+)
|
||||
seeders:
|
||||
selector: td:nth-of-type(10)
|
||||
leechers:
|
||||
|
|
|
@ -133,7 +133,7 @@ search:
|
|||
download:
|
||||
selector: a[href*="/download.php/"]
|
||||
attribute: href
|
||||
imdb:
|
||||
imdbid:
|
||||
selector: a[href*="imdb.com/title/tt"]
|
||||
attribute: href
|
||||
poster:
|
||||
|
|
|
@ -108,6 +108,8 @@ search:
|
|||
img[title="Win VST"]: 13
|
||||
img[title="Win VSTi"]: 14
|
||||
img[title="Handheld App"]: 15
|
||||
date:
|
||||
text: now
|
||||
size:
|
||||
selector: td[id$="_6"]
|
||||
seeders:
|
||||
|
|
|
@ -9,6 +9,7 @@ links:
|
|||
- https://tfa.tf/
|
||||
|
||||
caps:
|
||||
# dont forget to update the search fields category case block
|
||||
categorymappings:
|
||||
- {id: 107, cat: PC/0day, desc: "Apps Windows"}
|
||||
- {id: 132, cat: PC/Mac, desc: "Apps Mac-OSX"}
|
||||
|
@ -179,7 +180,6 @@ search:
|
|||
":has(div.kat_cat_pic_name:contains(\"Kids\")):has(div.kat_cat_pic_name_b:contains(\"n HD\"))": 161
|
||||
":has(div.kat_cat_pic_name:contains(\"Kids\")):has(div.kat_cat_pic_name_b:contains(\"n SD\"))": 162
|
||||
":has(div.kat_cat_pic_name:contains(\"Kids\")):has(div.kat_cat_pic_name_b:contains(\"buch\"))": 112
|
||||
":has(div.kat_cat_pic_name:contains(\"Books\")):has(div.kat_cat_pic_name_b:contains(\"Zeit\"))": 115
|
||||
":has(div.kat_cat_pic_name:contains(\"Books\")):has(div.kat_cat_pic_name_b:contains(\"Com\"))": 114
|
||||
":has(div.kat_cat_pic_name:contains(\"Books\")):has(div.kat_cat_pic_name_b:contains(\"Rom\"))": 117
|
||||
":has(div.kat_cat_pic_name:contains(\"Books\")):has(div.kat_cat_pic_name_b:contains(\"Pac\"))": 156
|
||||
|
@ -202,19 +202,19 @@ search:
|
|||
filters:
|
||||
- name: re_replace
|
||||
args: ["^\\[[\\w ]*\\]\\s?", ""]
|
||||
- name: re_replace
|
||||
args: ["^\\[[\\w ]*\\]\\s?", ""]
|
||||
details:
|
||||
selector: a.selection_a
|
||||
attribute: href
|
||||
download:
|
||||
download_default:
|
||||
selector: a[href^="download.php?torrent="]
|
||||
optional: true
|
||||
attribute: href
|
||||
download:
|
||||
download_ssl:
|
||||
selector: a[href^="download_ssl.php?torrent="]
|
||||
optional: true
|
||||
attribute: href
|
||||
download:
|
||||
text: "{{ if .Result.download_ssl }}{{ .Result.download_ssl }}{{ else }}{{ .Result.download_default }}{{ end }}"
|
||||
poster:
|
||||
selector: div[id^="details"] img
|
||||
attribute: src
|
||||
|
@ -222,7 +222,7 @@ search:
|
|||
selector: div.selection_unter_ad
|
||||
grabs:
|
||||
selector: div.selection_unter_ae
|
||||
date:
|
||||
date_day:
|
||||
# Heute 13:30:04
|
||||
# Gestern 09:10:10
|
||||
selector: div.selection_unter_ab:not(:contains("."))
|
||||
|
@ -232,7 +232,7 @@ search:
|
|||
args: ["Heute", "Today"]
|
||||
- name: replace
|
||||
args: ["Gestern", "Yesterday"]
|
||||
date:
|
||||
date_year:
|
||||
# 30.02.2018 um 23:12:50
|
||||
selector: div.selection_unter_ab:contains(".")
|
||||
optional: true
|
||||
|
@ -243,9 +243,10 @@ search:
|
|||
args: " +01:00" # CET
|
||||
- name: dateparse
|
||||
args: "02.01.2006 15:04:05 -07:00"
|
||||
date:
|
||||
text: "{{ if or .Result.date_year .Result.date_day }}{{ or .Result.date_year .Result.date_day }}{{ else }}now{{ end }}"
|
||||
description:
|
||||
selector: selection_unter_af
|
||||
optional: true
|
||||
seeders:
|
||||
selector: div.selection_unter_aa
|
||||
leechers:
|
||||
|
|
|
@ -182,7 +182,7 @@ search:
|
|||
attribute: href
|
||||
files:
|
||||
selector: td:nth-child(6)
|
||||
date:
|
||||
date_day:
|
||||
# Yesterday<br /> 11:29 PM
|
||||
# Today<br /> 05:23 PM
|
||||
selector: td:nth-child(8):contains("day")
|
||||
|
@ -191,7 +191,7 @@ search:
|
|||
- name: append
|
||||
args: " +00:00" # auto adjusted by site account profile
|
||||
- name: fuzzytime
|
||||
date:
|
||||
date_year:
|
||||
# Aug 4 2021<br />02:36 AM
|
||||
selector: td:nth-child(8):not(:contains("day"))
|
||||
optional: true
|
||||
|
@ -200,6 +200,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-child(9)
|
||||
grabs:
|
||||
|
|
|
@ -133,12 +133,12 @@ search:
|
|||
attribute: href
|
||||
files:
|
||||
selector: td:nth-child(5)
|
||||
date:
|
||||
date_day:
|
||||
selector: td:nth-child(7):contains("day")
|
||||
optional: true
|
||||
filters:
|
||||
- name: fuzzytime
|
||||
date:
|
||||
date_year:
|
||||
selector: td:nth-child(7):not(:contains("day"))
|
||||
optional: true
|
||||
filters:
|
||||
|
@ -146,6 +146,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-child(8)
|
||||
grabs:
|
||||
|
|
|
@ -124,7 +124,7 @@ search:
|
|||
args: "&w=180&h=270" # for display on dashboard
|
||||
- name: replace
|
||||
args: ["https://images.weserv.nl/?url=https://theshinning.me/img/nocover.png&w=180&h=270", ""]
|
||||
imdb:
|
||||
imdbid:
|
||||
selector: a[href*="imdb.com/title/tt"]
|
||||
attribute: href
|
||||
tmdbid:
|
||||
|
|
|
@ -106,22 +106,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
|
||||
|
@ -131,7 +133,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
|
||||
|
@ -140,6 +142,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:
|
||||
|
|
|
@ -109,22 +109,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: div.imdb_100 > a
|
||||
attribute: href
|
||||
date:
|
||||
date_elapsed:
|
||||
# time type: time elapsed (default)
|
||||
selector: td:nth-child(4) > span[title]
|
||||
attribute: title
|
||||
|
@ -134,7 +136,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
|
||||
|
@ -143,6 +145,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:
|
||||
|
|
|
@ -36,6 +36,7 @@ legacylinks:
|
|||
- https://torlock.unblockit.ws/
|
||||
|
||||
caps:
|
||||
# dont forget to update the search fields category case block
|
||||
categorymappings:
|
||||
- {id: TELEVISION, cat: TV, desc: "TV Shows"}
|
||||
- {id: MOVIES, cat: Movies, desc: "Movies"}
|
||||
|
@ -142,7 +143,7 @@ search:
|
|||
args: (^/tor/\d*)
|
||||
- name: append
|
||||
args: ".torrent"
|
||||
date:
|
||||
date_year:
|
||||
selector: td:nth-child(2):contains("/")
|
||||
optional: true
|
||||
filters:
|
||||
|
@ -150,18 +151,20 @@ search:
|
|||
args: " -07:00" # PDT
|
||||
- name: dateparse
|
||||
args: "1/2/2006 -07:00"
|
||||
date:
|
||||
date_day:
|
||||
selector: td:nth-child(2):contains("Today"), td:nth-child(2):contains("Yesterday")
|
||||
optional: true
|
||||
filters:
|
||||
- name: fuzzytime
|
||||
date:
|
||||
date_ago:
|
||||
selector: td:nth-child(2):not(:contains("Today")):not(:contains("Yesterday")):not(:contains("/"))
|
||||
optional: true
|
||||
filters:
|
||||
- name: re_replace
|
||||
args: ["(min|mins)", "minutes"]
|
||||
- name: timeago
|
||||
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 }}"
|
||||
size:
|
||||
selector: td:nth-child(3)
|
||||
seeders:
|
||||
|
|
|
@ -84,17 +84,17 @@ search:
|
|||
download:
|
||||
selector: a[href^="/torrent/"]
|
||||
attribute: href
|
||||
date:
|
||||
date_day:
|
||||
selector: td:nth-child(2):contains("day")
|
||||
optional: true
|
||||
filters:
|
||||
- name: fuzzytime
|
||||
date:
|
||||
date_ago:
|
||||
selector: td:nth-child(2):contains("ago")
|
||||
optional: true
|
||||
filters:
|
||||
- name: timeago
|
||||
date:
|
||||
date_year:
|
||||
selector: td:nth-child(2):not(:contains("ago")):not(:contains("day"))
|
||||
optional: true
|
||||
filters:
|
||||
|
@ -102,6 +102,8 @@ search:
|
|||
args: " +01:00" # CET
|
||||
- name: dateparse
|
||||
args: "2 Jan -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 }}"
|
||||
size:
|
||||
selector: td:nth-child(3)
|
||||
seeders:
|
||||
|
|
|
@ -9,8 +9,8 @@ links:
|
|||
- https://torrent-explosiv.eu/
|
||||
|
||||
caps:
|
||||
# dont forget to update the search fields category case block
|
||||
categorymappings:
|
||||
# note: if refreshing cats dont forget the category case block.
|
||||
# App
|
||||
- {id: 12, cat: PC/0day, desc: "App Win"}
|
||||
- {id: 10, cat: PC/Mac, desc: "App Mac"}
|
||||
|
@ -142,8 +142,6 @@ search:
|
|||
filters:
|
||||
- name: re_replace
|
||||
args: ["^\\[[\\w ]*\\]\\s?", ""]
|
||||
- name: re_replace
|
||||
args: ["^\\[[\\w ]*\\]\\s?", ""]
|
||||
details:
|
||||
selector: a.selection_a
|
||||
attribute: href
|
||||
|
@ -213,7 +211,7 @@ search:
|
|||
selector: div.selection_unter_ad
|
||||
grabs:
|
||||
selector: div.selection_unter_ae
|
||||
date:
|
||||
date_day:
|
||||
# Heute 13:30:04
|
||||
# Gestern 09:10:10
|
||||
selector: div.selection_unter_ab:not(:contains("."))
|
||||
|
@ -223,7 +221,7 @@ search:
|
|||
args: ["Heute", "Today"]
|
||||
- name: replace
|
||||
args: ["Gestern", "Yesterday"]
|
||||
date:
|
||||
date_year:
|
||||
# 30.02.2018 um 23:12:50
|
||||
selector: div.selection_unter_ab:contains(".")
|
||||
optional: true
|
||||
|
@ -234,9 +232,10 @@ search:
|
|||
args: " +01:00" # CET
|
||||
- name: dateparse
|
||||
args: "02.01.2006 15:04:05 -07:00"
|
||||
date:
|
||||
text: "{{ if or .Result.date_year .Result.date_day }}{{ or .Result.date_year .Result.date_day }}{{ else }}now{{ end }}"
|
||||
description:
|
||||
selector: selection_unter_af
|
||||
optional: true
|
||||
seeders:
|
||||
selector: div.selection_unter_aa
|
||||
leechers:
|
||||
|
|
|
@ -155,7 +155,7 @@ search:
|
|||
download:
|
||||
selector: a[href*="?p=torrents&pid=10&action=download"]
|
||||
attribute: href
|
||||
date:
|
||||
date_year:
|
||||
optional: true
|
||||
# Uploaded 30-01-2019 15:02 by
|
||||
selector: td.torrent_name:not(:contains(" at "))
|
||||
|
@ -166,7 +166,7 @@ search:
|
|||
args: " +03:00" # TRT
|
||||
- name: dateparse
|
||||
args: "02-01-2006 15:04 -07:00"
|
||||
date:
|
||||
date_day:
|
||||
optional: true
|
||||
# Uploaded Friday at 05:11 by
|
||||
# Uploaded Today at 00:48 by
|
||||
|
@ -177,6 +177,8 @@ search:
|
|||
args: "Uploaded (.+?) by"
|
||||
- name: replace
|
||||
args: [" at ", " "]
|
||||
date:
|
||||
text: "{{ if or .Result.date_year .Result.date_day }}{{ or .Result.date_year .Result.date_day }}{{ else }}now{{ end }}"
|
||||
size:
|
||||
selector: a[rel="torrent_size"]
|
||||
seeders:
|
||||
|
|
|
@ -45,6 +45,7 @@ legacylinks:
|
|||
- https://www.oxtorrent.me/ # http 522 Connection timed out
|
||||
|
||||
caps:
|
||||
# dont forget to update the search fields category case block
|
||||
categorymappings:
|
||||
- {id: films, cat: Movies, desc: "Movies"}
|
||||
- {id: series, cat: TV, desc: "TV"}
|
||||
|
@ -191,16 +192,16 @@ search:
|
|||
args: ["Go", "GB"]
|
||||
- name: replace
|
||||
args: ["To", "TB"]
|
||||
seeders:
|
||||
text: 0
|
||||
seeders:
|
||||
seeders_optional:
|
||||
selector: td:nth-child(3)
|
||||
optional: true
|
||||
leechers:
|
||||
text: 0
|
||||
leechers:
|
||||
seeders:
|
||||
text: "{{ if .Result.seeders_optional }}{{ .Result.seeders_optional }}{{ else }}0{{ end }}"
|
||||
leechers_optional:
|
||||
selector: td:nth-child(4)
|
||||
optional: true
|
||||
leechers:
|
||||
text: "{{ if .Result.leechers_optional }}{{ .Result.leechers_optional }}{{ else }}0{{ end }}"
|
||||
downloadvolumefactor:
|
||||
text: 0
|
||||
uploadvolumefactor:
|
||||
|
|
|
@ -176,16 +176,16 @@ search:
|
|||
text: now
|
||||
size:
|
||||
selector: td:nth-child(2)
|
||||
seeders:
|
||||
text: 0
|
||||
seeders:
|
||||
seeders_optional:
|
||||
selector: td:nth-child(3)
|
||||
optional: true
|
||||
leechers:
|
||||
text: 0
|
||||
leechers:
|
||||
seeders:
|
||||
text: "{{ if .Result.seeders_optional }}{{ .Result.seeders_optional }}{{ else }}0{{ end }}"
|
||||
leechers_optional:
|
||||
selector: td:nth-child(4)
|
||||
optional: true
|
||||
leechers:
|
||||
text: "{{ if .Result.leechers_optional }}{{ .Result.leechers_optional }}{{ else }}0{{ end }}"
|
||||
downloadvolumefactor:
|
||||
text: 0
|
||||
uploadvolumefactor:
|
||||
|
|
|
@ -106,19 +106,21 @@ 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: div.imdb_100 > a
|
||||
attribute: href
|
||||
size:
|
||||
|
@ -129,7 +131,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
|
||||
|
@ -139,7 +141,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
|
||||
|
@ -148,6 +150,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
|
||||
|
|
|
@ -117,7 +117,7 @@ search:
|
|||
selector: td:nth-child(9)
|
||||
leechers:
|
||||
selector: td:nth-child(10)
|
||||
imdb:
|
||||
imdbid:
|
||||
selector: a[href*="imdb.com/title/tt"]
|
||||
attribute: href
|
||||
tmdbid:
|
||||
|
|
|
@ -93,14 +93,14 @@ search:
|
|||
args: "/tor/"
|
||||
- name: append
|
||||
args: ".torrent"
|
||||
date:
|
||||
date_day:
|
||||
# Today
|
||||
# Yesterday
|
||||
selector: td:nth-child(2):contains("day")
|
||||
optional: true
|
||||
filters:
|
||||
- name: fuzzytime
|
||||
date:
|
||||
date_month:
|
||||
# 7 Jul
|
||||
# 25 Dec
|
||||
selector: td:nth-child(2):not(:contains("day"))
|
||||
|
@ -110,6 +110,8 @@ search:
|
|||
args: " -07:00" # PDT
|
||||
- name: dateparse
|
||||
args: "2 Jan -07:00"
|
||||
date:
|
||||
text: "{{ if or .Result.date_month .Result.date_day }}{{ or .Result.date_month .Result.date_day }}{{ else }}now{{ end }}"
|
||||
size:
|
||||
selector: td:nth-child(3)
|
||||
seeders:
|
||||
|
|
|
@ -176,13 +176,13 @@ search:
|
|||
selector: div span[title="Seeders/Leechers"] font b
|
||||
leechers:
|
||||
selector: div span[title="Seeders/Leechers"] font:nth-child(2) b
|
||||
date:
|
||||
date_ago:
|
||||
# 20Mins ago
|
||||
optional: true
|
||||
selector: div td:last-of-type:contains("ago")
|
||||
filters:
|
||||
- name: timeago
|
||||
date:
|
||||
date_year:
|
||||
# 24/12/18 13:55
|
||||
optional: true
|
||||
selector: div td:last-of-type small:contains(":")
|
||||
|
@ -191,6 +191,8 @@ search:
|
|||
args: " -07:00" # PDT
|
||||
- name: dateparse
|
||||
args: "02/01/06 15:04 -07:00"
|
||||
date:
|
||||
text: "{{ if or .Result.date_year .Result.date_ago }}{{ or .Result.date_year .Result.date_ago }}{{ else }}now{{ end }}"
|
||||
downloadvolumefactor:
|
||||
text: 0
|
||||
uploadvolumefactor:
|
||||
|
|
|
@ -75,19 +75,21 @@ search:
|
|||
filters:
|
||||
- name: querystring
|
||||
args: cat
|
||||
title:
|
||||
title_default:
|
||||
selector: a[href^="details.php?id="]
|
||||
title:
|
||||
title_optional:
|
||||
optional: true
|
||||
selector: a[href^="details.php?id="][title]
|
||||
attribute: title
|
||||
title:
|
||||
title_optional2:
|
||||
optional: true
|
||||
selector: a[href^="details.php?id="][onmousemove]
|
||||
attribute: onmousemove
|
||||
filters:
|
||||
- name: regexp
|
||||
args: "return overlibImage\\('(.*)','.*'\\);"
|
||||
title:
|
||||
text: "{{ if or .Result.title_optional .Result.title_optional2 }}{{ or .Result.title_optional .Result.title_optional2 }}{{ else }}{{ .Result.title_default }}{{ end }}"
|
||||
details:
|
||||
selector: a[href^="details.php?id="]
|
||||
attribute: href
|
||||
|
@ -124,7 +126,6 @@ search:
|
|||
- name: dateparse
|
||||
args: "02.01.2006 15:04:05 -07:00"
|
||||
description:
|
||||
optional: true
|
||||
selector: td:nth-child(2)
|
||||
remove: a, br, small
|
||||
# engine tbd
|
||||
|
|
|
@ -126,7 +126,7 @@ search:
|
|||
"span:contains(\"Videos Músicales\")": 8
|
||||
"span:contains(\"+18\")": 9
|
||||
"span:contains(\"Otros\")": 10
|
||||
title:
|
||||
title_vose:
|
||||
selector: a.view-torrent:contains("VOSE")
|
||||
optional: true
|
||||
filters:
|
||||
|
@ -138,7 +138,7 @@ search:
|
|||
args: ["UHDRip", "BDRip"] # Fix for Radarr
|
||||
- name: append
|
||||
args: " ENGLiSH"
|
||||
title:
|
||||
title_notvose:
|
||||
selector: a.view-torrent:not(:contains("VOSE"))
|
||||
optional: true
|
||||
filters:
|
||||
|
@ -150,6 +150,8 @@ search:
|
|||
args: ["UHDRip", "BDRip"] # Fix for Radarr
|
||||
- name: append
|
||||
args: " SPANiSH"
|
||||
title:
|
||||
text: "{{ if .Result.title_vose }}{{ .Result.title_vose }}{{ else }}{{ .Result.title_notvose }}{{ end }}"
|
||||
download:
|
||||
selector: a[href*="/download/"]
|
||||
attribute: href
|
||||
|
|
|
@ -115,25 +115,23 @@ search:
|
|||
download:
|
||||
selector: a[href^="download.php/"]
|
||||
attribute: href
|
||||
imdb:
|
||||
imdbid:
|
||||
selector: a[href*="imdb.com/title/tt"]
|
||||
attribute: href
|
||||
description:
|
||||
language:
|
||||
optional: true
|
||||
selector: img[src="pic/pl.jpg"]
|
||||
filters:
|
||||
- name: append
|
||||
args: "Language: polish\n<br>"
|
||||
- name: prepend
|
||||
args: "{{ .Result.description }}"
|
||||
description:
|
||||
subbed:
|
||||
optional: true
|
||||
selector: img[src="pic/napisy.gif"]
|
||||
filters:
|
||||
- name: append
|
||||
args: "Subbed\n<br>"
|
||||
- name: prepend
|
||||
args: "{{ .Result.description }}"
|
||||
description:
|
||||
text: "{{ .Result.language }}{{ .Result.subbed }}"
|
||||
date:
|
||||
selector: td:nth-child(4)
|
||||
filters:
|
||||
|
|
|
@ -165,16 +165,16 @@ search:
|
|||
poster:
|
||||
selector: div[class^="torrent-name"] a
|
||||
attribute: data-poster-preview
|
||||
seeders:
|
||||
text: 0
|
||||
seeders:
|
||||
seeders_optional:
|
||||
selector: td.seeders_cell:not(:has(i))
|
||||
optional: true
|
||||
leechers:
|
||||
text: 0
|
||||
leechers:
|
||||
seeders:
|
||||
text: "{{ if .Result.seeders_optional }}{{ .Result.seeders_optional }}{{ else }}0{{ end }}"
|
||||
leechers_optional:
|
||||
selector: td.leechers_cell:not(:has(i))
|
||||
optional: true
|
||||
leechers:
|
||||
text: "{{ if .Result.leechers_optional }}{{ .Result.leechers_optional }}{{ else }}0{{ end }}"
|
||||
size:
|
||||
selector: td.size_cell
|
||||
downloadvolumefactor:
|
||||
|
|
|
@ -43,7 +43,6 @@ search:
|
|||
description:
|
||||
selector: a > span
|
||||
attribute: class
|
||||
optional: true
|
||||
poster:
|
||||
selector: img
|
||||
attribute: src
|
||||
|
|
|
@ -83,7 +83,7 @@ search:
|
|||
download:
|
||||
selector: span > a
|
||||
attribute: href
|
||||
date:
|
||||
date_year:
|
||||
# Sep. 7th '10
|
||||
selector: div > span:nth-child(4):not(:contains(":"))
|
||||
optional: true
|
||||
|
@ -96,7 +96,7 @@ search:
|
|||
args: " -07:00" # PDT
|
||||
- name: dateparse
|
||||
args: "Jan. 2 06 -07:00"
|
||||
date:
|
||||
date_time:
|
||||
# 2020-11-05 07:34:44
|
||||
selector: div > span:nth-child(4):contains(":")
|
||||
optional: true
|
||||
|
@ -105,6 +105,8 @@ search:
|
|||
args: " -07:00" # PDT
|
||||
- name: dateparse
|
||||
args: "2006-01-02 15:04:05 -07:00"
|
||||
date:
|
||||
text: "{{ if or .Result.date_year .Result.date_time }}{{ or .Result.date_year .Result.date_time }}{{ else }}now{{ end }}"
|
||||
size:
|
||||
selector: div > span:nth-child(5)
|
||||
seeders:
|
||||
|
|
|
@ -109,18 +109,20 @@ search:
|
|||
download:
|
||||
selector: a[href$=".html"][title]
|
||||
attribute: href
|
||||
date:
|
||||
date_day:
|
||||
selector: div.wr-date:contains("-")
|
||||
optional: true
|
||||
filters:
|
||||
- name: dateparse
|
||||
args: "01-02"
|
||||
date:
|
||||
date_time:
|
||||
selector: div.wr-date:contains(":")
|
||||
optional: true
|
||||
filters:
|
||||
- name: dateparse
|
||||
args: "15:04"
|
||||
date:
|
||||
text: "{{ if or .Result.date_time .Result.date_day }}{{ or .Result.date_time .Result.date_day }}{{ else }}now{{ end }}"
|
||||
size:
|
||||
selector: div.wr-size
|
||||
filters:
|
||||
|
|
|
@ -112,11 +112,6 @@ search:
|
|||
# 2020-03-28T01:30:01+09:00
|
||||
selector: time
|
||||
attribute: datetime
|
||||
filters:
|
||||
- name: replace
|
||||
args: ["T", " "]
|
||||
- name: dateparse
|
||||
args: "2006-01-02 15:04:05-07:00"
|
||||
cat:
|
||||
selector: div.media-heading > a[href^="./board.php"]
|
||||
attribute: href
|
||||
|
|
|
@ -107,19 +107,17 @@ search:
|
|||
download:
|
||||
selector: td a[href^="download.php"]
|
||||
attribute: href
|
||||
imdb:
|
||||
imdbid:
|
||||
selector: a[href*="imdb.com/title/tt"]
|
||||
attribute: href
|
||||
filters:
|
||||
# http://anonym.to?javascript:popdetails('http://www.imdb.com/title/tt0086817');
|
||||
- name: replace
|
||||
args: [" http://anonym.to?javascript:popdetails('", ""]
|
||||
- name: replace
|
||||
args: ["');", ""]
|
||||
- name: regexp
|
||||
args: tt(\d+)
|
||||
poster:
|
||||
selector: td a[href^="index.php?page=torrent-details"]
|
||||
attribute: onmouseover
|
||||
filters:
|
||||
# http://anonym.to?javascript:popdetails('http://www.imdb.com/title/tt0086817');
|
||||
- name: regexp
|
||||
args: "src=(.+?) width"
|
||||
- name: replace
|
||||
|
@ -127,14 +125,16 @@ search:
|
|||
size:
|
||||
selector: td:nth-child(10)
|
||||
# two flavours of dates
|
||||
date:
|
||||
date_day:
|
||||
# Yesterday at 10:03:30 PM
|
||||
selector: td:nth-child(5):contains("day")
|
||||
optional: true
|
||||
filters:
|
||||
- name: re_replace
|
||||
args: ["[ ]at|[\\s+]|[//\xa0],\\/g", " "]
|
||||
date:
|
||||
- name: append
|
||||
args: " +00:00" # auto adjusted by site account profile
|
||||
date_year:
|
||||
# February 09, 2019, 06:35:08 AM
|
||||
selector: td:nth-child(5):not(:contains("day"))
|
||||
optional: true
|
||||
|
@ -145,6 +145,8 @@ search:
|
|||
args: " +00:00" # auto adjusted by site account profile
|
||||
- name: dateparse
|
||||
args: "January 02 2006 03:04:05 PM -07:00"
|
||||
date:
|
||||
text: "{{ if or .Result.date_year .Result.date_day }}{{ or .Result.date_year .Result.date_day }}{{ else }}now{{ end }}"
|
||||
seeders:
|
||||
selector: td:nth-child(6)
|
||||
leechers:
|
||||
|
|
|
@ -204,7 +204,7 @@ search:
|
|||
args: " +08:00" # CST
|
||||
- name: dateparse
|
||||
args: "2006-01-0215:04:05 -07:00"
|
||||
imdb:
|
||||
imdbid:
|
||||
selector: span.imdb_rate > a
|
||||
attribute: href
|
||||
downloadvolumefactor:
|
||||
|
|
|
@ -156,20 +156,20 @@ search:
|
|||
args: "src=\\\\'(.+?)\\\\'"
|
||||
- name: replace
|
||||
args: ["./pic/noposter.png", ""]
|
||||
imdb:
|
||||
imdbid:
|
||||
selector: a[href*="imdb.com/title/tt"]
|
||||
attribute: href
|
||||
files:
|
||||
selector: td:nth-last-child(8)
|
||||
# 2 flavours of dates
|
||||
date:
|
||||
date_day:
|
||||
# Today<br> 10:20 AM
|
||||
# Yesterday<br> 08:03 PM
|
||||
optional: true
|
||||
selector: td:nth-last-child(6):contains("day")
|
||||
filters:
|
||||
- name: fuzzytime
|
||||
date:
|
||||
date_year:
|
||||
# Feb 4 2019<br> 10:20 AM
|
||||
optional: true
|
||||
selector: td:nth-last-child(6):not(:contains("day"))
|
||||
|
@ -178,6 +178,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:
|
||||
|
|
|
@ -145,7 +145,7 @@ search:
|
|||
details:
|
||||
selector: a[href*="?p=torrents&pid=10&action=details"]
|
||||
attribute: href
|
||||
date:
|
||||
date_year:
|
||||
# Uploaded 30-01-2019 15:02 by
|
||||
selector: td.torrent_name:not(:contains(" at ")):not(:has(abbr[data-time]))
|
||||
optional: true
|
||||
|
@ -156,7 +156,7 @@ search:
|
|||
args: " +00:00" # auto adjusted by site account profile
|
||||
- name: dateparse
|
||||
args: "02-01-2006 15:04 -07:00"
|
||||
date:
|
||||
date_day:
|
||||
# Uploaded Friday at 05:11 by
|
||||
# Uploaded Today at 00:48 by
|
||||
# Uploaded Yesterday at 23:57 by
|
||||
|
@ -168,11 +168,13 @@ search:
|
|||
- name: replace
|
||||
args: [" at ", " "]
|
||||
- name: fuzzytime
|
||||
date:
|
||||
date_unix:
|
||||
# within the hour (unix)
|
||||
selector: abbr[data-time]
|
||||
attribute: data-time
|
||||
optional: true
|
||||
date:
|
||||
text: "{{ if or .Result.date_year .Result.date_unix .Result.date_day }}{{ or .Result.date_year .Result.date_unix .Result.date_day }}{{ else }}now{{ end }}"
|
||||
download:
|
||||
selector: a[href*="?p=torrents&pid=10&action=download"]
|
||||
attribute: href
|
||||
|
|
|
@ -134,7 +134,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:
|
||||
|
|
|
@ -121,10 +121,10 @@ search:
|
|||
attribute: href
|
||||
files:
|
||||
selector: td:nth-of-type(6)
|
||||
date:
|
||||
date_day:
|
||||
selector: td:nth-of-type(8):contains("day")
|
||||
optional: true
|
||||
date:
|
||||
date_year:
|
||||
selector: td:nth-of-type(8):not(:contains("day"))
|
||||
optional: true
|
||||
filters:
|
||||
|
@ -132,6 +132,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-of-type(9)
|
||||
grabs:
|
||||
|
|
|
@ -169,10 +169,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:
|
||||
|
@ -180,6 +180,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:
|
||||
|
|
Loading…
Reference in New Issue