mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
ptfiles: add imdb search. #4859
add config sort options add UHD cat add engine tag remove obsolete search terms
This commit is contained in:
@@ -18,7 +18,7 @@
|
|||||||
- {id: 55, cat: Books, desc: "Comics"}
|
- {id: 55, cat: Books, desc: "Comics"}
|
||||||
- {id: 5, cat: Movies/HD, desc: "Movies/720p HD"}
|
- {id: 5, cat: Movies/HD, desc: "Movies/720p HD"}
|
||||||
- {id: 8, cat: Movies/HD, desc: "Movies/1080p HD"}
|
- {id: 8, cat: Movies/HD, desc: "Movies/1080p HD"}
|
||||||
- {id: 15, cat: Movies/HD, desc: "Movies/Ultra-HD"}
|
- {id: 15, cat: Movies/UHD, desc: "Movies/Ultra-HD"}
|
||||||
- {id: 44, cat: Movies, desc: "Movies/Packs"}
|
- {id: 44, cat: Movies, desc: "Movies/Packs"}
|
||||||
- {id: 69, cat: Books, desc: "E Books"}
|
- {id: 69, cat: Books, desc: "E Books"}
|
||||||
- {id: 12, cat: Books, desc: "E Learning"}
|
- {id: 12, cat: Books, desc: "E Learning"}
|
||||||
@@ -35,9 +35,33 @@
|
|||||||
- {id: 9, cat: XXX, desc: "XXX"}
|
- {id: 9, cat: XXX, desc: "XXX"}
|
||||||
|
|
||||||
modes:
|
modes:
|
||||||
search: [q]
|
search: [q, imdbid]
|
||||||
tv-search: [q, season, ep]
|
tv-search: [q, season, ep, imdbid]
|
||||||
movie-search: [q]
|
movie-search: [q, imdbid]
|
||||||
|
|
||||||
|
settings:
|
||||||
|
- name: username
|
||||||
|
type: text
|
||||||
|
label: Username
|
||||||
|
- name: password
|
||||||
|
type: password
|
||||||
|
label: Password
|
||||||
|
- name: sort
|
||||||
|
type: select
|
||||||
|
label: Sort requested from site
|
||||||
|
default: "4"
|
||||||
|
options:
|
||||||
|
"4": "created"
|
||||||
|
"7": "seeders"
|
||||||
|
"5": "size"
|
||||||
|
"1": "title"
|
||||||
|
- name: type
|
||||||
|
type: select
|
||||||
|
label: Order requested from site
|
||||||
|
default: "desc"
|
||||||
|
options:
|
||||||
|
"desc": "desc"
|
||||||
|
"asc": "asc"
|
||||||
|
|
||||||
login:
|
login:
|
||||||
path: loginproc/
|
path: loginproc/
|
||||||
@@ -55,16 +79,22 @@
|
|||||||
|
|
||||||
search:
|
search:
|
||||||
paths:
|
paths:
|
||||||
|
# https://ptfiles.net/browse.php?search=tt3612126&incldead=1&title=1
|
||||||
- path: browse.php
|
- path: browse.php
|
||||||
inputs:
|
inputs:
|
||||||
$raw: "{{ range .Categories }}c{{.}}=1&{{end}}"
|
$raw: "{{ range .Categories }}c{{.}}=1&{{end}}"
|
||||||
search: "{{ .Keywords }}"
|
search: "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{else}}{{ .Keywords }}{{end}}"
|
||||||
|
# 0 active 1 both 2 dead 3 needseed
|
||||||
incldead: 0
|
incldead: 0
|
||||||
onlyname: 1
|
# 0 title 1 descr 2 both 3 genre
|
||||||
onlyname2: true
|
title: "{{ if .Query.IMDBID }}1{{else}}0{{end}}"
|
||||||
|
sort: "{{ .Config.sort }}"
|
||||||
|
type: "{{ .Config.type }}"
|
||||||
|
|
||||||
rows:
|
rows:
|
||||||
# for some users (don't know why) the table is called tablethree instead of tortable
|
# for some users (don't know why) the table is called tablethree instead of tortable
|
||||||
selector: table#tortable > tbody > tr.rowhead, table#tablethree > tbody > tr.rowhead
|
selector: table#tortable > tbody > tr.rowhead, table#tablethree > tbody > tr.rowhead
|
||||||
|
|
||||||
fields:
|
fields:
|
||||||
# column 3 will be the wait time for new users
|
# column 3 will be the wait time for new users
|
||||||
download:
|
download:
|
||||||
@@ -124,3 +154,4 @@
|
|||||||
filters:
|
filters:
|
||||||
- name: trim
|
- name: trim
|
||||||
args: "/"
|
args: "/"
|
||||||
|
# TBDev Custom
|
||||||
|
Reference in New Issue
Block a user