mirror of https://github.com/Jackett/Jackett
demonoid: ad dcookie method. #7771
add imdbid search #4859 update categories fix search-in-titles (was: on now: 1)
This commit is contained in:
parent
b9e7bb5261
commit
c78cd997ee
|
@ -14,6 +14,7 @@
|
||||||
|
|
||||||
caps:
|
caps:
|
||||||
categorymappings:
|
categorymappings:
|
||||||
|
# fetch these from https://www.demonoid.is/cached/torrent_categories_script.js?v5
|
||||||
# Applications
|
# Applications
|
||||||
- {id: 1, cat: PC/Phone-Android, desc: "Applications Android"}
|
- {id: 1, cat: PC/Phone-Android, desc: "Applications Android"}
|
||||||
- {id: 2, cat: PC/Phone-IOS, desc: "Applications Iphone / Ipod touch"}
|
- {id: 2, cat: PC/Phone-IOS, desc: "Applications Iphone / Ipod touch"}
|
||||||
|
@ -131,6 +132,7 @@
|
||||||
- {id: 108, cat: TV/Anime, desc: "Anime Horror"}
|
- {id: 108, cat: TV/Anime, desc: "Anime Horror"}
|
||||||
- {id: 109, cat: TV/Anime, desc: "Anime Other"}
|
- {id: 109, cat: TV/Anime, desc: "Anime Other"}
|
||||||
- {id: 157, cat: TV/Anime, desc: "Anime Romance"}
|
- {id: 157, cat: TV/Anime, desc: "Anime Romance"}
|
||||||
|
- {id: 158, cat: TV/Anime, desc: "Anime Sci-Fi"}
|
||||||
# Movies
|
# Movies
|
||||||
- {id: 151, cat: Movies, desc: "Movies Action"}
|
- {id: 151, cat: Movies, desc: "Movies Action"}
|
||||||
- {id: 110, cat: Movies, desc: "Movies Adventure"}
|
- {id: 110, cat: Movies, desc: "Movies Adventure"}
|
||||||
|
@ -260,14 +262,21 @@
|
||||||
- {id: 233, cat: TV, desc: "TV Trailers"}
|
- {id: 233, cat: TV, desc: "TV Trailers"}
|
||||||
- {id: 234, cat: TV, desc: "TV War"}
|
- {id: 234, cat: TV, desc: "TV War"}
|
||||||
- {id: 235, cat: TV, desc: "TV Western"}
|
- {id: 235, cat: TV, desc: "TV Western"}
|
||||||
# cat misc has no subcats
|
# cat 7 misc has no subcats
|
||||||
|
|
||||||
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:
|
settings:
|
||||||
|
- name: cookie
|
||||||
|
type: text
|
||||||
|
label: Cookie
|
||||||
|
- name: info
|
||||||
|
type: info
|
||||||
|
label: How to get the Cookie
|
||||||
|
default: "<ol><li>Access this tracker with your browser<li>Open the <b>DevTools</b> panel by pressing <b>F12</b><li>Select the <b>Network</b> tab<li>Click on the <b>Doc</b> button<li>Refresh the page by pressing <b>F5</b><li>Select the <b>Headers</b> tab<li>Find <b>'cookie:'</b> in the <b>Request Headers</b> section<li><b>Select</b> and <b>Copy</b> the whole cookie string <i>(everything after 'cookie: ')</i> and <b>Paste</b> here.</ol>"
|
||||||
- name: sort
|
- name: sort
|
||||||
type: select
|
type: select
|
||||||
label: Sort requested from site
|
label: Sort requested from site
|
||||||
|
@ -284,14 +293,19 @@
|
||||||
"desc": "desc"
|
"desc": "desc"
|
||||||
"asc": "asc"
|
"asc": "asc"
|
||||||
|
|
||||||
|
login:
|
||||||
|
method: cookie
|
||||||
|
test:
|
||||||
|
path: files/
|
||||||
|
|
||||||
download:
|
download:
|
||||||
selector: a[href^="magnet:?xt="]
|
selector: a[href^="magnet:?xt="]
|
||||||
attribute: href
|
attribute: href
|
||||||
|
|
||||||
search:
|
search:
|
||||||
paths:
|
paths:
|
||||||
# https://www.demonoid.is/files/?c154&language=0&quality=0&seeded=2&query=world&to=on&sort=
|
# https://www.demonoid.is/files/?c154&language=0&quality=0&seeded=2&query=world&to=1&sort=
|
||||||
# https://www.demonoid.is/files/?seeded=2&language=0&quality=0&to=on&query=world
|
# https://www.demonoid.is/files/?seeded=2&language=0&quality=0&to=1&query=world
|
||||||
- path: files/
|
- path: files/
|
||||||
inputs:
|
inputs:
|
||||||
$raw: "{{ range .Categories }}c{{.}}&{{end}}"
|
$raw: "{{ range .Categories }}c{{.}}&{{end}}"
|
||||||
|
@ -302,10 +316,11 @@
|
||||||
# 0 all
|
# 0 all
|
||||||
quality: 0
|
quality: 0
|
||||||
# search in titles only
|
# search in titles only
|
||||||
to: on
|
to: "{{ if .Query.IMDBID }}{{else}}1{{end}}"
|
||||||
query: "{{ .Keywords }}"
|
query: "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{else}}{{ .Keywords }}{{end}}"
|
||||||
sort: "{{ .Config.sort }}"
|
sort: "{{ .Config.sort }}"
|
||||||
order: "{{ .Config.type }}"
|
order: "{{ .Config.type }}"
|
||||||
|
# does not return imdb link in results
|
||||||
|
|
||||||
rows:
|
rows:
|
||||||
selector: table.font_12px tr:has(td[class^="tone_1"])
|
selector: table.font_12px tr:has(td[class^="tone_1"])
|
||||||
|
@ -326,7 +341,7 @@
|
||||||
optional: true
|
optional: true
|
||||||
attribute: title
|
attribute: title
|
||||||
category:
|
category:
|
||||||
selector: a[href*="&subcategory="]
|
selector: span > a[href*="&subcategory="]
|
||||||
attribute: href
|
attribute: href
|
||||||
optional: true
|
optional: true
|
||||||
filters:
|
filters:
|
||||||
|
|
Loading…
Reference in New Issue