mirror of
https://github.com/Jackett/Jackett
synced 2025-02-25 07:32:38 +00: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:
parent
98297b2d85
commit
eb5642f293
1 changed files with 39 additions and 8 deletions
|
@ -18,7 +18,7 @@
|
|||
- {id: 55, cat: Books, desc: "Comics"}
|
||||
- {id: 5, cat: Movies/HD, desc: "Movies/720p 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: 69, cat: Books, desc: "E Books"}
|
||||
- {id: 12, cat: Books, desc: "E Learning"}
|
||||
|
@ -35,9 +35,33 @@
|
|||
- {id: 9, cat: XXX, desc: "XXX"}
|
||||
|
||||
modes:
|
||||
search: [q]
|
||||
tv-search: [q, season, ep]
|
||||
movie-search: [q]
|
||||
search: [q, imdbid]
|
||||
tv-search: [q, season, ep, imdbid]
|
||||
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:
|
||||
path: loginproc/
|
||||
|
@ -55,16 +79,22 @@
|
|||
|
||||
search:
|
||||
paths:
|
||||
# https://ptfiles.net/browse.php?search=tt3612126&incldead=1&title=1
|
||||
- path: browse.php
|
||||
inputs:
|
||||
$raw: "{{range .Categories}}c{{.}}=1&{{end}}"
|
||||
search: "{{ .Keywords }}"
|
||||
$raw: "{{ range .Categories }}c{{.}}=1&{{end}}"
|
||||
search: "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{else}}{{ .Keywords }}{{end}}"
|
||||
# 0 active 1 both 2 dead 3 needseed
|
||||
incldead: 0
|
||||
onlyname: 1
|
||||
onlyname2: true
|
||||
# 0 title 1 descr 2 both 3 genre
|
||||
title: "{{ if .Query.IMDBID }}1{{else}}0{{end}}"
|
||||
sort: "{{ .Config.sort }}"
|
||||
type: "{{ .Config.type }}"
|
||||
|
||||
rows:
|
||||
# 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
|
||||
|
||||
fields:
|
||||
# column 3 will be the wait time for new users
|
||||
download:
|
||||
|
@ -124,3 +154,4 @@
|
|||
filters:
|
||||
- name: trim
|
||||
args: "/"
|
||||
# TBDev Custom
|
||||
|
|
Loading…
Reference in a new issue