mirror of https://github.com/Jackett/Jackett
netcosmo: drop imdbid search
switch login to post add book-search
This commit is contained in:
parent
dcf339a6eb
commit
12e62b45b3
|
@ -26,10 +26,11 @@ caps:
|
||||||
- {id: 37, cat: Other, desc: "Tutte le saghe"}
|
- {id: 37, cat: Other, desc: "Tutte le saghe"}
|
||||||
|
|
||||||
modes:
|
modes:
|
||||||
search: [q, imdbid]
|
search: [q]
|
||||||
tv-search: [q, season, ep, imdbid]
|
tv-search: [q, season, ep]
|
||||||
movie-search: [q, imdbid]
|
movie-search: [q]
|
||||||
music-search: [q]
|
music-search: [q]
|
||||||
|
book-search: [q]
|
||||||
|
|
||||||
settings:
|
settings:
|
||||||
- name: username
|
- name: username
|
||||||
|
@ -64,9 +65,8 @@ settings:
|
||||||
default: For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile.
|
default: For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile.
|
||||||
|
|
||||||
login:
|
login:
|
||||||
path: sbg_login_new.php
|
path: index.php?page=login
|
||||||
method: form
|
method: post
|
||||||
form: form[action="index.php?page=login"]
|
|
||||||
inputs:
|
inputs:
|
||||||
uid: "{{ .Config.username }}"
|
uid: "{{ .Config.username }}"
|
||||||
pwd: "{{ .Config.password }}"
|
pwd: "{{ .Config.password }}"
|
||||||
|
@ -96,16 +96,16 @@ search:
|
||||||
- name: replace
|
- name: replace
|
||||||
args: ["-", ""]
|
args: ["-", ""]
|
||||||
inputs:
|
inputs:
|
||||||
search: "{{ if .Query.IMDBID }}{{ .Query.IMDBIDShort }}{{ else }}{{ .Keywords }}{{ end }}"
|
search: "{{ .Keywords }}"
|
||||||
page: torrents
|
page: torrents
|
||||||
category: "{{ range .Categories }}{{.}};{{end}}"
|
category: "{{ range .Categories }}{{.}};{{end}}"
|
||||||
options: "{{ if .Query.IMDBID }}4{{ else }}0{{ end }}"
|
# 0 all, 1 active, 2 dead
|
||||||
# 0 all 1 active 2 dead
|
|
||||||
active: 0
|
active: 0
|
||||||
# 0 filename, 1 file&descr, 2 descr, 3 uploader, 5 gold, 6 silver, 7 bronze
|
# 0 filename, 1 file&descr, 2 descr, 3 uploader, 5 gold, 6 silver, 7 bronze
|
||||||
options: "{{ if .Config.freeleech }}5{{ else }}0{{ end }}"
|
options: "{{ if .Config.freeleech }}5{{ else }}0{{ end }}"
|
||||||
order: "{{ .Config.sort }}"
|
order: "{{ .Config.sort }}"
|
||||||
by: "{{ .Config.type }}"
|
by: "{{ .Config.type }}"
|
||||||
|
# does not support imdbid searching or provide imdb link in results.
|
||||||
|
|
||||||
rows:
|
rows:
|
||||||
selector: table > tbody > tr > td > table.lista > tbody > tr:has(a[href^="index.php?page=torrent-details&id="])
|
selector: table > tbody > tr > td > table.lista > tbody > tr:has(a[href^="index.php?page=torrent-details&id="])
|
||||||
|
|
Loading…
Reference in New Issue