Revert "yourbittorrent: new domain .host"

This reverts commit 4c764a022a.
This commit is contained in:
Garfield69 2019-12-05 14:19:03 +13:00
parent d563063c86
commit 98fc07e82b
1 changed files with 24 additions and 14 deletions

View File

@ -6,13 +6,20 @@
type: public type: public
encoding: UTF-8 encoding: UTF-8
links: links:
- https://yourbittorrent.host/
legacylinks:
- https://yourbittorrent.com/ - https://yourbittorrent.com/
caps: caps:
categories: categories:
"Anime": TV/Anime
"Software": PC
"eBooks": Books
"XXX": XXX
"Games": PC/Games
"Movies": Movies
"Music": Audio
"Television": TV
"Other": Other "Other": Other
"Pictures": Other
modes: modes:
search: [q] search: [q]
@ -28,29 +35,32 @@
paths: paths:
- path: / - path: /
inputs: inputs:
v: ""
c: ""
q: "{{ .Keywords}}" q: "{{ .Keywords}}"
keywordsfilters: keywordsfilters:
- name: re_replace - name: re_replace
args: ["[\\s]+", "-"] args: ["[\\s]+", "-"]
rows: rows:
selector: table.table > tbody > tr:has(a[href^="/torrent/"]) selector: tr.table-default, tr.table-success
# filters: filters:
# - name: andmatch - name: andmatch
fields: fields:
category: category:
text: Other selector: td:nth-child(1) a
attribute: title
title: title:
selector: td.n div a, td.v div a selector: td:nth-child(2) a
details: details:
selector: td.n div a, td.v div a selector: td:nth-child(2) a
attribute: href attribute: href
download: download:
selector: td.n div a, td.v div a selector: td:nth-child(2) a
attribute: href attribute: href
size: size:
selector: td.s selector: td:nth-child(4)
date: date:
selector: td.t:not(:contains("/")) selector: td:nth-child(5):not(:contains("/"))
optional: true optional: true
filters: filters:
- name: replace - name: replace
@ -59,15 +69,15 @@
args: ["Yesterday", "1 day"] args: ["Yesterday", "1 day"]
- name: timeago - name: timeago
date: date:
selector: td.t:contains("/") selector: td:nth-child(5):contains("/")
optional: true optional: true
filters: filters:
- name: dateparse - name: dateparse
args: "02/01/06" args: "02/01/06"
seeders: seeders:
selector: td.u selector: td:nth-child(6)
leechers: leechers:
selector: td.d selector: td:nth-child(7)
downloadvolumefactor: downloadvolumefactor:
text: "0" text: "0"
uploadvolumefactor: uploadvolumefactor: