torrent911: new domain

plus simplify title processing
This commit is contained in:
Garfield69 2024-03-31 13:03:36 +13:00
parent bda0197cae
commit ebd81ac31e
1 changed files with 3 additions and 10 deletions

View File

@ -7,7 +7,7 @@ type: public
encoding: UTF-8
# to fetch current domain use https://www.protege-torrent.com/Torrent911 and https://www.protege-torrent.com/T911 and https://www.protege-torrent.com/Oxtorrent
links:
- https://www.t911.ws/
- https://www.t911.pw/
- https://www.oxtorrent.nl/
- https://oxtorrent.proxyninja.org/ # proxy for oxtorrent
legacylinks:
@ -35,6 +35,7 @@ legacylinks:
- https://oxtorrent.unblockninja.com/ # proxy for torrent911
- https://torrent911.ninjaproxy1.com/ # proxy for torrent911
- https://torrent9.torrentbay.st/ # proxy for torrent911
- https://www.t911.ws/
caps:
categorymappings:
@ -110,16 +111,8 @@ search:
category:
selector: td:nth-child(1) i
attribute: class
title_href:
# used by t911
selector: td:nth-child(1) a[href]
optional: true
title_onclick:
# used by oxtorrent
selector: td:nth-child(1) a[onclick]
optional: true
title_phase1:
text: "{{ or .Result.title_href .Result.title_onclick }}"
selector: td:nth-child(1) a
filters:
- name: re_replace
args: ["(?i)\\b(FRENCH|MULTI|TRUEFRENCH|VOSTFR|SUBFRENCH)\\b(.+?)(\\b(19|20\\d{2})\\b)$", "$3 $1$2"]