Jackett/src/Jackett.Common/Definitions/microbit.yml

168 lines
5.1 KiB
YAML
Raw Normal View History

---
id: microbit
name: MicroBit
description: "MicroBit (µBit) is a HUNGARIAN Private Torrent Tracker for MOVIES / TV / GENERAL"
language: hu
type: private
encoding: UTF-8
links:
- http://microbit.eu/ # site does not support https ERR_CONNECTION_REFUSED
caps:
categorymappings:
- {id: 37, cat: TV/Anime, desc: "Animációk"}
- {id: 12, cat: Books, desc: "E-book/Eng"}
- {id: 13, cat: Books, desc: "E-book/Hun"}
- {id: 36, cat: Movies/DVD, desc: "Film/DVD-9/Eng"}
- {id: 38, cat: Movies/DVD, desc: "Film/DVD-9/Hun"}
- {id: 6, cat: Movies/DVD, desc: "Film/DVD/Eng"}
- {id: 7, cat: Movies/DVD, desc: "Film/DVD/Hun"}
- {id: 31, cat: Movies/HD, desc: "Film/HD/Eng"}
- {id: 39, cat: Movies/HD, desc: "Film/HD/Hun"}
- {id: 4, cat: Movies/SD, desc: "Film/Xvid/Eng"}
- {id: 2, cat: Movies/SD, desc: "Film/XviD/Hun"}
- {id: 24, cat: Audio/Audiobook, desc: "Hangoskönyv"}
- {id: 23, cat: PC/Games, desc: "Játék/ISO"}
- {id: 17, cat: Console, desc: "Játék/Konzol"}
- {id: 18, cat: PC/Games, desc: "Játék/Rip"}
- {id: 19, cat: Other, desc: "Képek"}
- {id: 11, cat: Audio/Video, desc: "Klippek/Videók"}
- {id: 8, cat: PC/Mobile-Other, desc: "Mobil"}
- {id: 35, cat: Books, desc: "Oktató Anyagok"}
- {id: 28, cat: PC, desc: "PC/Egyéb"}
- {id: 21, cat: PC/ISO, desc: "PC/ISO"}
- {id: 1, cat: PC, desc: "PC/Rip"}
- {id: 20, cat: TV, desc: "Sorozat/Eng"}
- {id: 14, cat: TV, desc: "Sorozat/Hun"}
- {id: 29, cat: Movies/UHD, desc: "UHD"}
- {id: 22, cat: Audio/Lossless, desc: "Zene/Lossless"}
- {id: 10, cat: Audio/MP3, desc: "Zene/MP3"}
modes:
search: [q]
tv-search: [q, season, ep, imdbid]
movie-search: [q, imdbid]
music-search: [q]
book-search: [q]
settings:
- name: username
type: text
label: Username
- name: password
type: password
label: Password
- name: freeleech
type: checkbox
label: Search freeleech only
default: false
- name: sort
type: select
label: Sort requested from site
2020-10-23 19:21:52 +00:00
default: added
options:
2020-10-23 19:21:52 +00:00
name: name
size: size
added: added
seeders: seeders
- name: type
type: select
label: Order requested from site
2020-10-23 19:21:52 +00:00
default: DESC
options:
2020-10-23 19:21:52 +00:00
DESC: desc
ASC: asc
login:
path: login.php
method: post
inputs:
username: "{{ .Config.username }}"
password: "{{ .Config.password }}"
return: "/"
error:
- selector: fieldset.stderr
test:
path: index.php
selector: img[onclick="window.location='logout.php'"]
search:
paths:
# http://microbit.eu/browse.php?searchOpened=1&search=&searchWhat=0&filterOptions=0&orderby=added&ordertype=DESC
# http://microbit.eu/browse.php?searchOpened=1&cat[12]=12&cat[13]=13&search=&searchWhat=0&filterOptions=0
- path: browse.php
inputs:
# note: range categories does not support specifying the range value more than once so "{{ range .Categories }}cat[{{.}}]={{.}}&{{end}}" is not valid
# $raw: "{{ range .Categories }}cat[{{.}}]=1&{{end}}"
search: "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}"
searchOpened: 1
# 0 title, 1 descr, 2 uploader
searchWhat: "{{ if .Query.IMDBID }}1{{ else }}0{{ end }}"
# 0 active, 1 active&dead, 2 dead, 3 dl multiplier, 4 ul multiplier, 5 dl&ul multiplier, 6 bad torrent, 7 unverified torrent, 8 my torrent
filterOptions: "{{ if .Config.freeleech }}3{{ else }}1{{ end }}"
orderby: "{{ .Config.sort }}"
ordertype: "{{ .Config.type }}"
# does not return imdb link in results
rows:
selector: table.torrentList > tbody > tr:has(a[href^="download.php?id="]), table.torrentList > tbody > tr:has(td[onclick^="window.location='download.php?id="])
after: 1
fields:
category:
selector: a[href^="browse.php?searchOpened=1&cat["]
attribute: href
filters:
- name: regexp
args: (\d+)$
title:
selector: a[onclick^="getTorrentInfo("]
attribute: title
download:
selector: a[href^="download.php?id="]
attribute: href
details:
selector: a[href^="torrentdetails.php?id="]
attribute: href
banner:
selector: a.poster
attribute: href
grabs:
selector: td:nth-child(5)
filters:
- name: regexp
args: (\d+)
seeders:
selector: td:nth-child(6)
leechers:
selector: td:nth-child(7)
size:
selector: td:nth-child(8)
date:
selector: td:nth-child(9)
filters:
- name: dateparse
args: "2006.01.02. 15:04"
downloadvolumefactor:
text: 1
downloadvolumefactor:
optional: true
selector: b:has(img[src="templates/default/images/header/arrowdown.gif"])
filters:
- name: regexp
args: (\d+\.*\d*)
uploadvolumefactor:
text: 1
uploadvolumefactor:
optional: true
selector: b:has(img[src="templates/default/images/header/arrowup.gif"])
filters:
- name: regexp
args: (\d+)
minimumratio:
text: 0.6
minimumseedtime:
# 2 days (as seconds = 2 x 24 x 60 x 60)
text: 172800
# custom 3.0