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

View File

@@ -7,7 +7,7 @@ type: public
encoding: UTF-8 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 # 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: links:
- https://www.t911.ws/ - https://www.t911.pw/
- https://www.oxtorrent.nl/ - https://www.oxtorrent.nl/
- https://oxtorrent.proxyninja.org/ # proxy for oxtorrent - https://oxtorrent.proxyninja.org/ # proxy for oxtorrent
legacylinks: legacylinks:
@@ -35,6 +35,7 @@ legacylinks:
- https://oxtorrent.unblockninja.com/ # proxy for torrent911 - https://oxtorrent.unblockninja.com/ # proxy for torrent911
- https://torrent911.ninjaproxy1.com/ # proxy for torrent911 - https://torrent911.ninjaproxy1.com/ # proxy for torrent911
- https://torrent9.torrentbay.st/ # proxy for torrent911 - https://torrent9.torrentbay.st/ # proxy for torrent911
- https://www.t911.ws/
caps: caps:
categorymappings: categorymappings:
@@ -110,16 +111,8 @@ search:
category: category:
selector: td:nth-child(1) i selector: td:nth-child(1) i
attribute: class 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: title_phase1:
text: "{{ or .Result.title_href .Result.title_onclick }}" selector: td:nth-child(1) a
filters: filters:
- name: re_replace - name: re_replace
args: ["(?i)\\b(FRENCH|MULTI|TRUEFRENCH|VOSTFR|SUBFRENCH)\\b(.+?)(\\b(19|20\\d{2})\\b)$", "$3 $1$2"] args: ["(?i)\\b(FRENCH|MULTI|TRUEFRENCH|VOSTFR|SUBFRENCH)\\b(.+?)(\\b(19|20\\d{2})\\b)$", "$3 $1$2"]