learnflakes: add genre, correct MR

This commit is contained in:
ilike2burnthing 2023-02-07 04:07:54 +00:00 committed by GitHub
parent 4f817e9dfb
commit 64503396c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 1 deletions

View File

@ -142,6 +142,13 @@ search:
poster:
selector: a[href*="data/torrents/torrent_images/"]
attribute: href
genre:
selector: div.torrentDetails > div:has(a[href*="&genre="])
filters:
- name: replace
args: ["Genre:", ""]
description:
text: "{{ .Result.genre }}"
size:
selector: a[rel="torrent_size"]
grabs:
@ -180,5 +187,5 @@ search:
uploadvolumefactor:
text: 1
minimumratio:
text: 1.0
text: 0.5
# TSUE 2.2