gay-torrents: handle all styles. resolves #13753

This commit is contained in:
Garfield69
2022-12-03 10:05:21 +13:00
parent 3ca1a08e30
commit 8078c273df

View File

@@ -134,34 +134,37 @@ search:
args: ["(\\w+)", "+$1"] # prepend + to each word args: ["(\\w+)", "+$1"] # prepend + to each word
rows: rows:
selector: ul.TorrentList selector: ul.TorrentList, ul.Torrent-List
fields: fields:
category: category:
selector: .TorrentList1 > a selector: a[href^="torrentslist.php?type="]
attribute: href attribute: href
filters: filters:
- name: querystring - name: querystring
args: type args: type
title: title:
selector: .TorrentList2 > a selector: a[href^="torrentdetails.php?torrentid="]
filters:
- name: replace
args: ["[FFL] ", ""] # remove freeleech flag from title
download: download:
selector: .TorrentList2 > a selector: a[href^="torrentdetails.php?torrentid="]
attribute: href attribute: href
filters: filters:
- name: append - name: append
args: "&do=download" args: "&do=download"
details: details:
selector: .TorrentList2 > a selector: a[href^="torrentdetails.php?torrentid="]
attribute: href attribute: href
size: size:
selector: .TorrentList3 selector: .TorrentList3, .Torrent-List-Size
seeders: seeders:
selector: .TorrentList6 selector: .TorrentList6, .Torrent-List-Seeds
leechers: leechers:
selector: .TorrentList7 selector: .TorrentList7, .Torrent-List-Peers
date: date:
selector: li.TorrentList8 selector: .TorrentList8, .Torrent-List-Date
filters: filters:
- name: append - name: append
args: " +02:00" # EET args: " +02:00" # EET
@@ -169,7 +172,7 @@ search:
args: "15:04 02-Jan-2006 -07:00" args: "15:04 02-Jan-2006 -07:00"
downloadvolumefactor: downloadvolumefactor:
case: case:
".TorrentList2 > a:contains(\"[FFL]\")": 0 "a:contains(\"[FFL]\")": 0
"*": 1 "*": 1
uploadvolumefactor: uploadvolumefactor:
text: 1 text: 1