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"
"asc": "asc"
login:
path: takelogin.php
method: post
@ -183,3 +182,4 @@
"*": 1
uploadvolumefactor:
text: 1
# engine n/a

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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