mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
magico: new domain *.fun resolves #10202
This commit is contained in:
133
src/Jackett.Common/Definitions/morethantv.yml
Normal file
133
src/Jackett.Common/Definitions/morethantv.yml
Normal file
@@ -0,0 +1,133 @@
|
|||||||
|
---
|
||||||
|
id: morethantv
|
||||||
|
name: MoreThanTV
|
||||||
|
description: "MoreThanTV is a Private torrent tracker for TV / MOVIES"
|
||||||
|
language: en-us
|
||||||
|
type: private
|
||||||
|
encoding: UTF-8
|
||||||
|
links:
|
||||||
|
- https://www.morethantv.me/
|
||||||
|
legacylinks:
|
||||||
|
- https://www.morethan.tv/
|
||||||
|
|
||||||
|
caps:
|
||||||
|
categorymappings:
|
||||||
|
- {id: 1, cat: Movies, desc: Movies}
|
||||||
|
- {id: 2, cat: TV, desc: TV}
|
||||||
|
- {id: 3, cat: Other, desc: Other}
|
||||||
|
|
||||||
|
modes:
|
||||||
|
search: [q]
|
||||||
|
tv-search: [q]
|
||||||
|
movie-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
|
||||||
|
default: time
|
||||||
|
options:
|
||||||
|
time: created
|
||||||
|
seeders: seeders
|
||||||
|
size: size
|
||||||
|
- name: type
|
||||||
|
type: select
|
||||||
|
label: Order requested from site
|
||||||
|
default: desc
|
||||||
|
options:
|
||||||
|
desc: desc
|
||||||
|
asc: asc
|
||||||
|
|
||||||
|
login:
|
||||||
|
path: login
|
||||||
|
method: form
|
||||||
|
inputs:
|
||||||
|
username: "{{ .Config.username }}"
|
||||||
|
password: "{{ .Config.password }}"
|
||||||
|
cinfo: "2550|1350|24|-60"
|
||||||
|
keeploggedin: 1
|
||||||
|
error:
|
||||||
|
- selector: div.error
|
||||||
|
test:
|
||||||
|
path: torrents.php
|
||||||
|
selector: "#nav_userinfo"
|
||||||
|
|
||||||
|
search:
|
||||||
|
paths:
|
||||||
|
- path: torrents.php
|
||||||
|
inputs:
|
||||||
|
$raw: "{{range .Categories}}filter_cat[{{.}}]=1&{{end}}"
|
||||||
|
searchtext: ""
|
||||||
|
title: "{{ .Keywords }}"
|
||||||
|
order_by: "{{ .Config.sort }}"
|
||||||
|
order_way: "{{ .Config.type }}"
|
||||||
|
action: advanced
|
||||||
|
filter_freeleech: "{{ if .Config.freeleech }}1{{ else }}{{ end }}"
|
||||||
|
filelist: ""
|
||||||
|
taglist: ""
|
||||||
|
|
||||||
|
rows:
|
||||||
|
# exclude redbar torrents
|
||||||
|
selector: table#torrent_table > tbody > tr[class^="torrent row"]
|
||||||
|
|
||||||
|
fields:
|
||||||
|
download:
|
||||||
|
selector: a[href^="/torrents.php?action=download&id="]
|
||||||
|
attribute: href
|
||||||
|
description:
|
||||||
|
selector: div.tags
|
||||||
|
title:
|
||||||
|
selector: a[href^="/torrents.php?id="]
|
||||||
|
category:
|
||||||
|
selector: a[href*="filter_cat"]
|
||||||
|
attribute: href
|
||||||
|
filters:
|
||||||
|
- name: regexp
|
||||||
|
args: "(\\d+)]=1"
|
||||||
|
details:
|
||||||
|
selector: a[href^="/torrents.php?id="]
|
||||||
|
attribute: href
|
||||||
|
banner:
|
||||||
|
optional: true
|
||||||
|
selector: td:nth-child(2) > script
|
||||||
|
filters:
|
||||||
|
- name: regexp
|
||||||
|
args: "src=\\\\\"(.*?)\\\\\""
|
||||||
|
- name: re_replace
|
||||||
|
args: ["\\\\(.)", "$1"]
|
||||||
|
- name: replace
|
||||||
|
args: ["/static/common/noartwork/noimage.png", ""]
|
||||||
|
files:
|
||||||
|
selector: td:nth-child(3)
|
||||||
|
date:
|
||||||
|
selector: td:nth-child(5) > span
|
||||||
|
attribute: title
|
||||||
|
filters:
|
||||||
|
- name: append
|
||||||
|
args: " -07:00" # PTZ
|
||||||
|
- name: dateparse
|
||||||
|
args: "Jan 02 2006, 15:04 -07:00"
|
||||||
|
size:
|
||||||
|
selector: td:nth-child(6)
|
||||||
|
grabs:
|
||||||
|
selector: td:nth-child(7)
|
||||||
|
seeders:
|
||||||
|
selector: td:nth-child(8)
|
||||||
|
leechers:
|
||||||
|
selector: td:nth-child(9)
|
||||||
|
downloadvolumefactor:
|
||||||
|
text: 0
|
||||||
|
uploadvolumefactor:
|
||||||
|
text: 1
|
||||||
|
# minimumratio: the site is ratioless
|
||||||
|
# Luminance
|
Reference in New Issue
Block a user