danishbytes: new cat selector resolves #11730

also update no-poster detection
This commit is contained in:
Garfield69 2021-05-15 11:40:24 +12:00
parent 50a0bb5270
commit bbf9d86b21
1 changed files with 13 additions and 9 deletions

View File

@ -12,9 +12,9 @@ caps:
categorymappings:
- {id: 1, cat: Movies, desc: "Movies"}
- {id: 2, cat: TV, desc: "TV"}
- {id: 5, cat: PC/0day, desc: "Appz"}
- {id: 4, cat: PC/Games, desc: "Games"}
- {id: 3, cat: Audio, desc: "Music"}
- {id: 4, cat: PC/Games, desc: "Games"}
- {id: 5, cat: PC/0day, desc: "Appz"}
- {id: 8, cat: Books, desc: "Bookz"}
modes:
@ -98,11 +98,15 @@ search:
fields:
category:
selector: a[href*="/categories/"]
attribute: href
filters:
- name: regexp
args: "/categories/(\\d+)"
selector: i.torrent-icon
attribute: class
case:
i.fa-film: 1
i.fa-tv-retro: 2
i.fa-music: 3
i.fa-gamepad: 4
i.fa-compact-disc: 5
i.fa-book-open: 8
title:
selector: a.view-torrent
download:
@ -122,7 +126,7 @@ search:
- name: replace
args: ["&w=52&h=80", "&w=180&h=270"] # for display on dashboard
- name: replace
args: ["https://images.weserv.nl/?url=https://via.placeholder.com/600x900&w=180&h=270", ""]
args: ["https://images.weserv.nl/?url=https://via.placeholder.com/52x80&w=180&h=270", ""]
size:
selector: td:nth-last-child(4)
seeders:
@ -200,4 +204,4 @@ search:
minimumseedtime:
# 2 days (as seconds = 2 x 24 x 60 x 60)
text: 172800
# UNIT3D 5.1.0 DB-edition
# UNIT3D 5.1.0 DBy-edition 0.75