youbittorrent: new cat selector. resolves #8124

This commit is contained in:
Garfield69 2020-04-11 10:18:58 +12:00
parent 47bafe2a52
commit ef5fbc844d
1 changed files with 18 additions and 16 deletions

View File

@ -12,19 +12,17 @@
caps: caps:
categories: categories:
"Anime": TV/Anime anime: TV/Anime
"Software": PC software: PC
"Apps": PC ebooks: Books
"eBooks": Books adult: XXX
"XXX": XXX games: PC/Games
"Adult": XXX movies: Movies
"Games": PC/Games music: Audio
"Movies": Movies television: TV
"Music": Audio other: Other
"Television": TV photos: Other
"Series": TV pictures: Other
"Other": Other
"Pictures": Other
modes: modes:
search: [q] search: [q]
@ -50,8 +48,11 @@
- name: andmatch - name: andmatch
fields: fields:
category: category:
selector: td:nth-child(1) a selector: td:nth-child(1)
attribute: title attribute: onclick
filters:
- name: regexp
args: "href='/(.+?).html"
title: title:
selector: td:nth-child(2) a selector: td:nth-child(2) a
details: details:
@ -60,7 +61,8 @@
download: download:
selector: td:nth-child(2) a selector: td:nth-child(2) a
attribute: href attribute: href
# /down/22019747.torrent # turn /torrent/25778710/have-i-got-news-for-you-s59e02-720p-britishb00bseztv.html
# into /down/25778710.torrent
filters: filters:
- name: split - name: split
args: ["/", 2] args: ["/", 2]