engine tags: resolves #6822

This commit is contained in:
Garfield69 2020-02-15 09:48:27 +13:00
parent 46f03dbb6d
commit cab1184f13
32 changed files with 55 additions and 22 deletions

View File

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

View File

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

View File

@ -59,10 +59,12 @@
search:
paths:
- path: "{{ if .Keywords }}/search_torrent/{{ re_replace .Keywords \"[']+\" \"\" }}/page-0{{else}}/top_torrent.html{{end}}"
rows:
selector: div.table-responsive > table tbody tr
filters:
- name: andmatch
fields:
site_date:
selector: td:nth-child(1) a
@ -138,6 +140,7 @@
selector: td:nth-child(4)
optional: true
downloadvolumefactor:
text: "0"
text: 0
uploadvolumefactor:
text: "1"
text: 1
# engine n/a

View File

@ -56,8 +56,10 @@
search:
paths:
- path: "{{ if .Keywords }}/recherche/{{ .Keywords }}{{else}}/top{{end}}"
rows:
selector: div.table-responsive > table tbody tr
fields:
site_date:
selector: td:nth-child(1) a
@ -90,7 +92,7 @@
selector: td:nth-child(1) a
attribute: href
date:
text: "now"
text: now
size:
selector: td:nth-child(2)
seeders:
@ -104,6 +106,7 @@
selector: td:nth-child(4)
optional: true
downloadvolumefactor:
text: "0"
text: 0
uploadvolumefactor:
text: "1"
text: 1
# engine n/a

View File

@ -160,3 +160,4 @@
"*": 1
uploadvolumefactor:
text: 1
# engine n/a

View File

@ -169,3 +169,4 @@
description:
selector: td:nth-child(2)
remove: a, img
# NexusPHP Standard v1.5 Beta 3

View File

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

View File

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

View File

@ -37,10 +37,12 @@
- name: re_replace
args: ["[\\s]+", "-"]
- name: tolower
rows:
selector: table.tmain tbody tr:has(a[href^="/torrent/"])
filters:
- name: andmatch
fields:
title:
selector: div a[href^="/torrent/"]
@ -49,7 +51,7 @@
attribute: class
filters:
- name: regexp
args: "(\\d)"
args: (\d+)
details:
selector: div a[href^="/torrent/"]
attribute: href
@ -67,20 +69,15 @@
# two types of dates
date:
# Today
optional: true
selector: td:nth-child(2):contains("Today")
filters:
- name: fuzzytime
date:
# Yesterday
selector: td:nth-child(2):contains("day")
optional: true
selector: td:nth-child(2):contains("Yesterday")
filters:
- name: fuzzytime
date:
# 7 Jul
# 25 Dec
selector: td:nth-child(2):contains(" ")
selector: td:nth-child(2):not(:contains("day"))
optional: true
filters:
- name: dateparse
@ -95,3 +92,4 @@
text: 0
uploadvolumefactor:
text: 1
# engine n/a

View File

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

View File

@ -24,6 +24,7 @@
search:
paths:
- path: "search/{{ if .Keywords }}{{ .Keywords}}{{else}}2019{{end}}"
rows:
selector: table#archiveResult tbody tr:has(a[href^="magnet:?xt="])
@ -53,3 +54,4 @@
text: 0
uploadvolumefactor:
text: 1
# engine n/a

View File

@ -74,8 +74,10 @@
# https://torrentparadise.org/recent
paths:
- path: "{{ if .Keywords }}search.php?f={{ .Keywords }}{{ else }}recent{{ end }}"
rows:
selector: table.table-bordered > tbody > tr.table-default
fields:
category:
selector: td:nth-child(1) a
@ -102,6 +104,7 @@
leechers:
selector: td:nth-child(6)
downloadvolumefactor:
text: "0"
text: 0
uploadvolumefactor:
text: "1"
text: 1
# engine n/a

View File

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

View File

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

View File

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

View File

@ -163,3 +163,4 @@
"*": 1
uploadvolumefactor:
text: 1
# U-232 V5

View File

@ -888,5 +888,5 @@
img[src="styles/images/tor_silver.gif"]: 0.5
"*": 1
uploadvolumefactor:
case:
"*": 1
text: 1
# TorrentPier

View File

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

View File

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

View File

@ -760,3 +760,4 @@
text: 0
uploadvolumefactor:
text: 1
# TorrentPier

View File

@ -788,3 +788,4 @@
text: 0
uploadvolumefactor:
text: 1
# TorrentPier

View File

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

View File

@ -164,3 +164,4 @@
img[src="icon/upl2.png"]: 2
img[src="icon/upl3.png"]: 3
"*": 1
# Bitcomet 1.52

View File

@ -1421,3 +1421,4 @@
text: 0
uploadvolumefactor:
text: 1
# phpBB3

View File

@ -131,5 +131,5 @@
img[src="pic/freeleech.png"]: 0
"*": 1
uploadvolumefactor:
case:
"*": 1
text: 1
# engine n/a

View File

@ -169,5 +169,5 @@
img[src="pic/freeleech.png"]: 0
"*": 1
uploadvolumefactor:
case:
"*": 1
text: 1
# engine n/a

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -168,3 +168,4 @@
args: ["Tegnap", "Yesterday"]
- name: re_replace
args: ["12:(\\d\\d) PM", "00:$1 PM"]
# engine n/a