M-Team - TP: add support for IMDB tooltip handling

This commit is contained in:
kaso17
2017-09-20 11:39:15 +02:00
parent 650435aaef
commit 2e1ce6f202

View File

@@ -35,6 +35,18 @@
tv-search: [q, season, ep, imdbid] tv-search: [q, season, ep, imdbid]
movie-search: [q, imdbid] movie-search: [q, imdbid]
settings:
- name: username
type: text
label: Username
- name: password
type: password
label: Password
- name: info
type: info
label: ""
default: For best results disable the torrent name tooltip (User CP/Tracker Settings/Torrents Page). Otherwise long release names will be cut off.
login: login:
path: takelogin.php path: takelogin.php
method: post method: post
@@ -67,7 +79,10 @@
rows: rows:
selector: table.torrents > tbody > tr:has(table.torrentname) selector: table.torrents > tbody > tr:has(table.torrentname)
fields: fields:
title: # shortened for long release names
selector: a[href^="details.php?id="] > b
title: title:
optional: true # not available if IMDB tooltips are turned on
selector: a[title][href^="details.php?id="] selector: a[title][href^="details.php?id="]
attribute: title attribute: title
category: category:
@@ -77,7 +92,7 @@
- name: querystring - name: querystring
args: cat args: cat
details: details:
selector: a[title][href^="details.php?id="] selector: a[href^="details.php?id="]
attribute: href attribute: href
download: download:
selector: a[href^="download.php?id="] selector: a[href^="download.php?id="]