mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
demonoid: support theme v5. drop v3. resolves #11967
This commit is contained in:
@@ -284,7 +284,7 @@ caps:
|
||||
- {id: 233, cat: TV, desc: "TV Trailers"}
|
||||
- {id: 234, cat: TV, desc: "TV War"}
|
||||
- {id: 235, cat: TV, desc: "TV Western"}
|
||||
# cat 7 misc has no subcats
|
||||
# cat 7 Miscellaneous has no subcats
|
||||
|
||||
modes:
|
||||
search: [q]
|
||||
@@ -301,6 +301,10 @@ settings:
|
||||
type: info
|
||||
label: How to get the Cookie
|
||||
default: "<ol><li>Access this tracker with your browser<li>click on the <b>Apply Filter</b> button on the page to invoke the search and solve the challenge<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 (Chrome Browser) or <b>HTML</b> button (FireFox)<li>Refresh the page by pressing <b>F5</b><li>Click on the first row entry<li>Select the <b>Headers</b> tab on the Right panel<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: info_themes
|
||||
type: info
|
||||
label: About themes
|
||||
default: Only the default theme <b>Demonoid - v5</b> is supported. If you are using v3 then change it in your <i>User Control Panel</i> or you will get 0 results.
|
||||
- name: sort
|
||||
type: select
|
||||
label: Sort requested from site
|
||||
@@ -343,10 +347,11 @@ search:
|
||||
# does not return imdb link in results
|
||||
|
||||
rows:
|
||||
selector: table.font_12px tr:has(td[class^="tone_1"])
|
||||
# only the default theme "Demonoid - v5" is supported
|
||||
selector: table.table:has(td.torrent__table-today) > tbody > tr:has(td[class^="tone_"])
|
||||
after: 1
|
||||
dateheaders:
|
||||
selector: tr td.added_today:not(:contains("Sponsored links"))
|
||||
selector: tr td.torrent__table-today:not(:contains("Sponsored links"))
|
||||
filters:
|
||||
- name: replace
|
||||
args: ["Added ", ""]
|
||||
@@ -361,7 +366,7 @@ search:
|
||||
optional: true
|
||||
attribute: title
|
||||
category:
|
||||
selector: span > a[href*="&subcategory="]
|
||||
selector: span.torrent__table-info > a:nth-child(2)
|
||||
attribute: href
|
||||
optional: true
|
||||
filters:
|
||||
@@ -374,15 +379,15 @@ search:
|
||||
selector: a[href^="/files/details/"]
|
||||
attribute: href
|
||||
description:
|
||||
selector: td:nth-last-child(9)
|
||||
selector: td:nth-last-child(7)
|
||||
size:
|
||||
selector: td:nth-last-child(6)
|
||||
selector: td:nth-last-child(5)
|
||||
grabs:
|
||||
selector: td:nth-last-child(4)
|
||||
seeders:
|
||||
selector: td:nth-last-child(3)
|
||||
leechers:
|
||||
seeders:
|
||||
selector: td:nth-last-child(2)
|
||||
leechers:
|
||||
selector: td:nth-last-child(1)
|
||||
downloadvolumefactor:
|
||||
text: 0
|
||||
uploadvolumefactor:
|
||||
|
Reference in New Issue
Block a user