mirror of https://github.com/Jackett/Jackett
torrenthane: set size for movies to 2GB else 512MB
This commit is contained in:
parent
7d98b9b4b2
commit
32ec5540a5
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue