2020-03-03 16:28:26 +00:00
|
|
|
|
---
|
2020-05-11 19:59:28 +00:00
|
|
|
|
id: netlab
|
2020-05-10 20:05:19 +00:00
|
|
|
|
name: NetLab
|
|
|
|
|
description: "NetLab is a RUSSIAN Private Torrent Tracker"
|
|
|
|
|
language: ru-ru
|
|
|
|
|
type: private
|
|
|
|
|
encoding: windows-1251
|
|
|
|
|
links:
|
|
|
|
|
- https://torrent.e2k.ru/
|
2019-08-20 22:06:00 +00:00
|
|
|
|
|
2020-05-10 20:05:19 +00:00
|
|
|
|
caps:
|
|
|
|
|
categorymappings:
|
|
|
|
|
- {id: 1, cat: Movies/DVD, desc: "DVD5"}
|
|
|
|
|
- {id: 4, cat: Movies/DVD, desc: "DVD9"}
|
2020-10-28 19:00:48 +00:00
|
|
|
|
- {id: 5, cat: Movies/WEB-DL, desc: "MPEG/AVI"}
|
2020-05-10 20:05:19 +00:00
|
|
|
|
- {id: 6, cat: Audio, desc: "Музыка (Music)"}
|
|
|
|
|
- {id: 7, cat: PC/Games, desc: "Игры (Games)"}
|
|
|
|
|
- {id: 9, cat: PC/0day, desc: "Программы (Apps)"}
|
|
|
|
|
- {id: 10, cat: TV/HD, desc: "HDTV"}
|
|
|
|
|
- {id: 11, cat: Audio/Audiobook, desc: "Аудио Книги (Audiobooks)"}
|
2020-10-28 19:00:48 +00:00
|
|
|
|
- {id: 12, cat: Books/EBook, desc: "Книги (Ebooks)"}
|
2020-05-10 20:05:19 +00:00
|
|
|
|
- {id: 14, cat: Other, desc: "Разное (Other)"}
|
|
|
|
|
- {id: 15, cat: Audio/Video, desc: "МузDVD (Music/Video)"}
|
2019-08-20 22:06:00 +00:00
|
|
|
|
|
2020-05-10 20:05:19 +00:00
|
|
|
|
modes:
|
|
|
|
|
search: [q]
|
|
|
|
|
tv-search: [q]
|
|
|
|
|
movie-search: [q]
|
2020-10-19 02:01:48 +00:00
|
|
|
|
music-search: [q, artist]
|
2020-10-09 02:59:12 +00:00
|
|
|
|
book-search: [q]
|
2019-08-20 22:06:00 +00:00
|
|
|
|
|
2020-05-10 20:05:19 +00:00
|
|
|
|
settings:
|
|
|
|
|
- name: username
|
|
|
|
|
type: text
|
|
|
|
|
label: Username
|
|
|
|
|
- name: password
|
|
|
|
|
type: password
|
|
|
|
|
label: Password
|
|
|
|
|
- name: striprussian
|
|
|
|
|
type: checkbox
|
|
|
|
|
label: Strip Russian Letters
|
|
|
|
|
default: false
|
2019-08-20 22:06:00 +00:00
|
|
|
|
|
2020-05-10 20:05:19 +00:00
|
|
|
|
login:
|
|
|
|
|
path: takelogin.php
|
|
|
|
|
method: post
|
|
|
|
|
inputs:
|
|
|
|
|
username: "{{ .Config.username }}"
|
|
|
|
|
password: "{{ .Config.password }}"
|
|
|
|
|
returnto: "/my.php"
|
|
|
|
|
error:
|
|
|
|
|
- selector: td.embedded:contains("Ошибка")
|
|
|
|
|
test:
|
|
|
|
|
path: my.php
|
|
|
|
|
selector: a[href="logout.php"]
|
2019-08-20 22:06:00 +00:00
|
|
|
|
|
2020-05-10 20:05:19 +00:00
|
|
|
|
search:
|
|
|
|
|
paths:
|
2020-05-13 00:17:16 +00:00
|
|
|
|
# https://torrent.e2k.ru/browse.php?c1=1&c4=1&c10=1&incldead=0&search=
|
2020-05-10 20:05:19 +00:00
|
|
|
|
- path: browse.php
|
|
|
|
|
inputs:
|
2020-11-17 06:29:02 +00:00
|
|
|
|
$raw: "{{ range .Categories }}c{{.}}=1&{{end}}"
|
2020-11-17 21:28:31 +00:00
|
|
|
|
search: "{{ if .Query.Artist }}{{ .Query.Artist }}{{ else }}{{ .Keywords }}{{ end }}"
|
2020-09-14 00:18:39 +00:00
|
|
|
|
# 0 active, 1 incldead, 2 onlydead
|
2020-05-10 20:05:19 +00:00
|
|
|
|
incldead: 1
|
2020-01-19 06:13:07 +00:00
|
|
|
|
|
2020-05-10 20:05:19 +00:00
|
|
|
|
rows:
|
|
|
|
|
selector: table[border="1"][cellspacing="0"][cellpadding="5"] > tbody > tr:has(a[href^="details.php?id="])
|
2020-01-19 06:13:07 +00:00
|
|
|
|
|
2020-05-10 20:05:19 +00:00
|
|
|
|
fields:
|
|
|
|
|
category:
|
|
|
|
|
selector: a[href^="browse.php?cat="]
|
|
|
|
|
attribute: href
|
|
|
|
|
filters:
|
|
|
|
|
- name: querystring
|
|
|
|
|
args: cat
|
|
|
|
|
title:
|
|
|
|
|
selector: a[href^="details.php?id="]
|
|
|
|
|
filters:
|
|
|
|
|
- name: re_replace
|
|
|
|
|
args: ["[\\:\\-\\/\\|]", " "]
|
|
|
|
|
- name: re_replace
|
|
|
|
|
args: ["(\\([А-Яа-яЁё\\W]+\\))|(^[А-Яа-яЁё\\W\\d]+\\/ )|([а-яА-ЯЁё \\-]+,+)|([а-яА-ЯЁё]+)", "{{ if .Config.striprussian }}{{ else }}$1$2$3$4{{ end }}"]
|
|
|
|
|
details:
|
|
|
|
|
selector: a[href^="details.php?id="]
|
|
|
|
|
attribute: href
|
|
|
|
|
download:
|
|
|
|
|
selector: a[href^="download.php?id="]
|
|
|
|
|
attribute: href
|
|
|
|
|
magnet:
|
|
|
|
|
selector: a[href^="magnet:?xt="]
|
|
|
|
|
optional: true
|
|
|
|
|
attribute: href
|
|
|
|
|
files:
|
|
|
|
|
selector: td:nth-child(3)
|
|
|
|
|
date:
|
|
|
|
|
selector: td:nth-child(4)
|
|
|
|
|
filters:
|
2020-10-09 02:59:12 +00:00
|
|
|
|
- name: append
|
|
|
|
|
args: " +03:00" # MSK
|
2020-05-10 20:05:19 +00:00
|
|
|
|
- name: dateparse
|
2020-10-09 02:59:12 +00:00
|
|
|
|
args: "2006-01-0215:04:05 -07:00"
|
2020-05-10 20:05:19 +00:00
|
|
|
|
size:
|
|
|
|
|
selector: td:nth-child(5)
|
|
|
|
|
grabs:
|
|
|
|
|
selector: td:nth-child(6)
|
|
|
|
|
seeders:
|
|
|
|
|
selector: td:nth-child(7)
|
|
|
|
|
leechers:
|
|
|
|
|
selector: td:nth-child(8)
|
|
|
|
|
downloadvolumefactor:
|
2020-10-09 03:12:10 +00:00
|
|
|
|
case:
|
|
|
|
|
img[src$="_gold.png"]: 0.65
|
|
|
|
|
"*": 1
|
2020-05-10 20:05:19 +00:00
|
|
|
|
uploadvolumefactor:
|
2020-05-13 00:17:16 +00:00
|
|
|
|
text: 1
|
2020-09-14 00:18:39 +00:00
|
|
|
|
minimumratio:
|
|
|
|
|
text: 0.15
|
2020-01-19 06:13:07 +00:00
|
|
|
|
# engine n/a
|