This commit is contained in:
Garfield69
2020-01-15 19:32:25 +13:00
parent 2368e2631b
commit a092a931a5
17 changed files with 72 additions and 40 deletions

View File

@@ -67,7 +67,6 @@
"desc": "desc" "desc": "desc"
"asc": "asc" "asc": "asc"
login: login:
path: takelogin.php path: takelogin.php
method: post method: post
@@ -183,3 +182,4 @@
"*": 1 "*": 1
uploadvolumefactor: uploadvolumefactor:
text: 1 text: 1
# engine n/a

View File

@@ -151,8 +151,10 @@
keywordsfilters: keywordsfilters:
- name: replace # use this as a workaround till #893 is implemented - name: replace # use this as a workaround till #893 is implemented
args: ["Greys Anatomy", "Grey's Anatomy"] args: ["Greys Anatomy", "Grey's Anatomy"]
rows: rows:
selector: tr:has(a[href^="/torrent/"]) selector: tr:has(a[href^="/torrent/"])
fields: fields:
title: title:
selector: td[class^="coll-1"] a[href^="/torrent/"] selector: td[class^="coll-1"] a[href^="/torrent/"]
@@ -226,3 +228,4 @@
text: 0 text: 0
uploadvolumefactor: uploadvolumefactor:
text: 1 text: 1
# engine n/a

View File

@@ -140,6 +140,7 @@
rows: rows:
selector: table.ttable_headinner > tbody > tr[class^="t-row"] selector: table.ttable_headinner > tbody > tr[class^="t-row"]
fields: fields:
category: category:
selector: a[href^="torrents.php?cat="] selector: a[href^="torrents.php?cat="]
@@ -179,3 +180,4 @@
uploadvolumefactor: uploadvolumefactor:
case: case:
"*": 1 "*": 1
# engine n/a

View File

@@ -87,6 +87,7 @@
selector: table.responsive-card-table tr:has(td[data-label]) selector: table.responsive-card-table tr:has(td[data-label])
filters: filters:
- name: andmatch - name: andmatch
fields: fields:
category: category:
selector: td[data-label="Type"] a selector: td[data-label="Type"] a
@@ -149,4 +150,5 @@
"*": 1 "*": 1
uploadvolumefactor: uploadvolumefactor:
case: case:
"*": 1 "*": 1
# U-232 V5

View File

@@ -141,3 +141,4 @@
uploadvolumefactor: uploadvolumefactor:
case: case:
"*": 1 "*": 1
# Engine n/a

View File

@@ -155,3 +155,4 @@
description: description:
selector: td:nth-child(2) selector: td:nth-child(2)
remove: a, img remove: a, img
# NexusPHP

View File

@@ -15,8 +15,8 @@
categories: categories:
1: TV 1: TV
modes: modes:
tv-search: [q, season, ep]
search: [q] search: [q]
tv-search: [q, season, ep]
settings: [] settings: []
@@ -24,9 +24,11 @@
paths: paths:
- path: / - path: /
inputs: inputs:
term: "{{ .Query.Keywords }}" term: "{{ .Keywords }}"
rows: rows:
selector: tbody tr selector: tbody tr
fields: fields:
title: title:
selector: td.title > span.title a selector: td.title > span.title a
@@ -52,6 +54,7 @@
filters: filters:
- name: fuzzytime - name: fuzzytime
downloadvolumefactor: downloadvolumefactor:
text: "0" text: 0
uploadvolumefactor: uploadvolumefactor:
text: "1" text: 1
# engine n/a

View File

@@ -45,8 +45,10 @@
# https://www.acgsou.com/1.html # https://www.acgsou.com/1.html
# https://www.acgsou.com/search.php?keyword=test # https://www.acgsou.com/search.php?keyword=test
- path: "{{ if .Keywords }}search.php?keyword={{ .Keywords }}{{else}}1.html{{end}}" - path: "{{ if .Keywords }}search.php?keyword={{ .Keywords }}{{else}}1.html{{end}}"
rows: rows:
selector: table tbody tr[class^="alt"]:has(td:nth-child(3) a) selector: table tbody tr[class^="alt"]:has(td:nth-child(3) a)
fields: fields:
date: date:
selector: td:nth-child(1):contains("昨天") selector: td:nth-child(1):contains("昨天")
@@ -87,6 +89,7 @@
leechers: leechers:
text: 1 text: 1
downloadvolumefactor: downloadvolumefactor:
text: "0" text: 0
uploadvolumefactor: uploadvolumefactor:
text: "1" text: 1
# BTMaster 2.1.1

View File

@@ -102,7 +102,7 @@
paths: paths:
- path: browse.php - path: browse.php
inputs: inputs:
$raw: "{{range .Categories}}c{{.}}=1&{{end}}" $raw: "{{ range .Categories }}c{{.}}=1&{{end}}"
search: "{{ .Keywords }}" search: "{{ .Keywords }}"
incldead: 1 incldead: 1
sort: "{{ .Config.sort }}" sort: "{{ .Config.sort }}"
@@ -164,9 +164,10 @@
args: "2006-01-02 15:04:05" args: "2006-01-02 15:04:05"
downloadvolumefactor: downloadvolumefactor:
case: case:
span.icon_gift: "0" span.icon_gift: 0
"*": "1" "*": 1
uploadvolumefactor: uploadvolumefactor:
case: case:
span.icon_upload: "2" span.icon_upload: 2
"*": "1" "*": 1
# XBT v3

View File

@@ -97,6 +97,7 @@
rows: rows:
selector: tr.trclass:not(:has(td.lista-cat-rec)) selector: tr.trclass:not(:has(td.lista-cat-rec))
fields: fields:
title: title:
selector: td a[href*="id="] selector: td a[href*="id="]
@@ -142,4 +143,4 @@
text: 0 text: 0
uploadvolumefactor: uploadvolumefactor:
text: 1 text: 1
# xbtit 2.3

View File

@@ -107,6 +107,7 @@
rows: rows:
selector: tr[id^="tor_"] selector: tr[id^="tor_"]
fields: fields:
title: title:
selector: td a.tLink selector: td a.tLink
@@ -147,9 +148,10 @@
selector: td:nth-child(6) span:nth-last-child(1) selector: td:nth-child(6) span:nth-last-child(1)
downloadvolumefactor: downloadvolumefactor:
case: case:
img[src="./styles/images/tor_gold.gif"]: "0" img[src="./styles/images/tor_gold.gif"]: 0
img[src="./styles/images/tor_silver.gif"]: "0.5" img[src="./styles/images/tor_silver.gif"]: 0.5
"*": "1" "*": 1
uploadvolumefactor: uploadvolumefactor:
case: case:
"*": "1" "*": 1
# engine n/a

View File

@@ -105,3 +105,4 @@
text: 0 text: 0
uploadvolumefactor: uploadvolumefactor:
text: 1 text: 1
# engine n/a

View File

@@ -36,8 +36,10 @@
search: search:
paths: paths:
- path: "{{if .Keywords}}?s={{ .Keywords}}{{else}}{{end}}" - path: "{{if .Keywords}}?s={{ .Keywords}}{{else}}{{end}}"
rows: rows:
selector: table tbody tr:has(td.torrents_small_type_data1) selector: table tbody tr:has(td.torrents_small_type_data1)
fields: fields:
title: title:
selector: .torrents_small_info_data1 div selector: .torrents_small_info_data1 div
@@ -61,18 +63,19 @@
selector: .torrents_small_type_data1 img selector: .torrents_small_type_data1 img
attribute: src attribute: src
case: case:
"[src=\"./styles/tracker/imageset/cat_raw_small.png\"]": "1" "[src=\"./styles/tracker/imageset/cat_raw_small.png\"]": 1
"[src=\"./styles/tracker/imageset/cat_anime_small.png\"]": "2" "[src=\"./styles/tracker/imageset/cat_anime_small.png\"]": 2
"[src=\"./styles/tracker/imageset/cat_hentai_small.png\"]": "3" "[src=\"./styles/tracker/imageset/cat_hentai_small.png\"]": "
"[src=\"./styles/tracker/imageset/cat_drama_small.png\"]": "4" "[src=\"./styles/tracker/imageset/cat_drama_small.png\"]": 4
"[src=\"./styles/tracker/imageset/cat_dvd_small.png\"]": "5" "[src=\"./styles/tracker/imageset/cat_dvd_small.png\"]": 5
"[src=\"./styles/tracker/imageset/cat_hgame2_small.png\"]": "6" "[src=\"./styles/tracker/imageset/cat_hgame2_small.png\"]": 6
"[src=\"./styles/tracker/imageset/cat_manga_small.png\"]": "7" "[src=\"./styles/tracker/imageset/cat_manga_small.png\"]": 7
"[src=\"./styles/tracker/imageset/cat_music_small.png\"]": "8" "[src=\"./styles/tracker/imageset/cat_music_small.png\"]": 8
"[src=\"./styles/tracker/imageset/cat_musicvid_small.png\"]": "9" "[src=\"./styles/tracker/imageset/cat_musicvid_small.png\"]": 9
"[src=\"./styles/tracker/imageset/cat_noneng_small.png\"]": "10" "[src=\"./styles/tracker/imageset/cat_noneng_small.png\"]": 10
"[src=\"./styles/tracker/imageset/cat_other_small.png\"]": "11" "[src=\"./styles/tracker/imageset/cat_other_small.png\"]": 11
downloadvolumefactor: downloadvolumefactor:
text: "0" text: 0
uploadvolumefactor: uploadvolumefactor:
text: "1" text: 1
# engine n/a

View File

@@ -119,6 +119,7 @@
rows: rows:
selector: tr:has(td.category) selector: tr:has(td.category)
fields: fields:
title: title:
# use the second div for full title # use the second div for full title
@@ -178,3 +179,4 @@
text: 0 text: 0
uploadvolumefactor: uploadvolumefactor:
text: 1 text: 1
# engine n/a

View File

@@ -133,6 +133,7 @@
selector: table.table-striped > tbody > tr:has(a[href*="details.php?id="]) selector: table.table-striped > tbody > tr:has(a[href*="details.php?id="])
filters: filters:
- name: andmatch - name: andmatch
fields: fields:
title: title:
selector: div.torrent-name selector: div.torrent-name
@@ -179,3 +180,4 @@
uploadvolumefactor: uploadvolumefactor:
case: case:
"*": 1 "*": 1
# Midgaard

View File

@@ -93,7 +93,7 @@
method: get method: get
before: before:
path: https://audiobookbay.nl/member/login.php path: https://audiobookbay.nl/member/login.php
method: "post" method: post
inputs: inputs:
username: "{{ .Config.username }}" username: "{{ .Config.username }}"
password: "{{ .Config.password }}" password: "{{ .Config.password }}"
@@ -103,13 +103,15 @@
# with just 7 results per page, try to grab up to 35 results # with just 7 results per page, try to grab up to 35 results
# http://audiobookbay.nl/?s=teeth # http://audiobookbay.nl/?s=teeth
# http://audiobookbay.nl/page/2/?s=teeth # http://audiobookbay.nl/page/2/?s=teeth
- path: "{{if .Keywords}}/?s={{ .Keywords}}{{else}}/{{end}}" - path: "{{ if .Keywords }}/?s={{ .Keywords }}{{else}}/{{end}}"
- path: "{{if .Keywords}}/page/2/?s={{ .Keywords}}{{else}}{{end}}" - path: "{{ if .Keywords }}/page/2/?s={{ .Keywords }}{{else}}{{end}}"
- path: "{{if .Keywords}}/page/3/?s={{ .Keywords}}{{else}}{{end}}" - path: "{{ if .Keywords }}/page/3/?s={{ .Keywords }}{{else}}{{end}}"
- path: "{{if .Keywords}}/page/4/?s={{ .Keywords}}{{else}}{{end}}" - path: "{{ if .Keywords }}/page/4/?s={{ .Keywords }}{{else}}{{end}}"
- path: "{{if .Keywords}}/page/5/?s={{ .Keywords}}{{else}}{{end}}" - path: "{{ if .Keywords }}/page/5/?s={{ .Keywords }}{{else}}{{end}}"
rows: rows:
selector: div.post:has(div[class="postTitle"]) selector: div.post:has(div[class="postTitle"])
fields: fields:
title: title:
selector: div.postTitle selector: div.postTitle
@@ -151,3 +153,4 @@
text: 0 text: 0
uploadvolumefactor: uploadvolumefactor:
text: 1 text: 1
# engine n/a

View File

@@ -269,6 +269,7 @@
filters: filters:
- name: dateparse - name: dateparse
args: "01-02-2006" args: "01-02-2006"
fields: fields:
title: title:
selector: td a[href*="/viewtopic.php?t="] selector: td a[href*="/viewtopic.php?t="]
@@ -299,17 +300,17 @@
optional: true optional: true
selector: td:contains(\00a0B) selector: td:contains(\00a0B)
seeders: seeders:
text: "0" text: 0
seeders: seeders:
optional: true optional: true
selector: td[title="Seeders"] selector: td[title="Seeders"]
leechers: leechers:
text: "0" text: 0
leechers: leechers:
optional: true optional: true
selector: td[title="Leechers"] selector: td[title="Leechers"]
grabs: grabs:
text: "0" text: 0
grabs: grabs:
optional: true optional: true
selector: td[title^="Replies:"] selector: td[title^="Replies:"]
@@ -317,3 +318,4 @@
text: 1 text: 1
uploadvolumefactor: uploadvolumefactor:
text: 1 text: 1
# engine n/a