torrenthane: set size for movies to 2GB else 512MB

This commit is contained in:
Garfield69 2020-04-17 15:18:54 +12:00
parent 7d98b9b4b2
commit 32ec5540a5
1 changed files with 9 additions and 1 deletions

View File

@ -58,8 +58,16 @@
attribute: src attribute: src
date: date:
text: now text: now
cat:
selector: div.moviefilm a
attribute: href
case:
a[href*="-film-"]: 1 # movie
a[href*="-dizi-"]: 2 # series
a[href*="-bolum-"]: 2 # episode
"*": 3
size: size:
text: "512 MB" text: "{{ if eq .Result.cat \"1\" }}2 GB{{else}}512 MB{{end}}"
seeders: seeders:
text: 1 text: 1
leechers: leechers: