1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2024-12-29 11:17:22 +00:00

add microbit, a Hundarian private site. resolves #7007

This commit is contained in:
Garfield69 2020-02-07 08:46:38 +13:00
parent 1715f0fda4
commit f8f0c5d907
2 changed files with 155 additions and 0 deletions

View file

@ -325,6 +325,7 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/
* M-Team TP (MTTP)
* Magico (Trellas)
* Majomparádé (TurkDepo)
* MicroBit (µBit)
* MoeCat
* Mononoké-BT
* MoreThanTV (MTV)

View file

@ -0,0 +1,154 @@
---
site: 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/
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: Music/Video, desc: "Klippek/Videók"}
- {id: 8, cat: PC/Phone-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]
movie-search: [q]
settings:
- name: username
type: text
label: Username
- name: password
type: password
label: Password
- name: sort
type: select
label: Sort requested from site
default: "added"
options:
"name": "name"
"size": "size"
"added": "added"
"seeders": "seeders"
- name: type
type: select
label: Order requested from site
default: "DESC"
options:
"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%5B12%5D=12&cat%5B13%5D=13&search=&searchWhat=0&filterOptions=0
- path: browse.php
inputs:
$raw: "{{ range .Categories }}cat[]={{.}}&{{end}}"
search: "{{ if .Keywords }}{{ .Keywords }}{{else}}{{end}}"
searchOpened: 1
# 0 title 1 descr 2 uploader
searchWhat: 0
# 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: 1
orderby: "{{ .Config.sort }}"
ordertype: "{{ .Config.type }}"
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+)
uploadvolumefactor:
text: 1
uploadvolumefactor:
optional: true
selector: b:has(img[src="templates/default/images/header/arrowup.gif"])
filters:
- name: regexp
args: (\d+)
# engine n/a