torrent9: drop proxies added by #7818

these proxies are for torrent9clone !!!
also fix title year move (single word titles would break)
This commit is contained in:
Garfield69 2020-04-08 09:20:11 +12:00
parent d15d4fb433
commit ea0325a173
1 changed files with 14 additions and 36 deletions

View File

@ -8,12 +8,6 @@
followredirect: true
links:
- https://www.oxtorrent.me/
- https://www.torrent9.pl/
- https://torrent9.black-mirror.xyz/
- https://torrent9.unblocked.casa/
- https://torrent9.proxyportal.fun/
- https://torrent9.uk-unblock.xyz/
- https://torrent9.ind-unblock.xyz/
legacylinks:
- http://www.torrent9.ec/
@ -40,7 +34,13 @@
- https://www.torrent9.is/
- https://www4.torrent9.to/
- https://www.torrent09.uno/
- https://torrent9.unblockninja.com/ # .torrent file download currently broken
- https://torrent9.unblockninja.com/ # this is a proxy for torrent9clone
- https://www.torrent9.pl/ # this is a proxy for torrent9clone
- https://torrent9.black-mirror.xyz/ # this is a proxy for torrent9clone
- https://torrent9.unblocked.casa/ # this is a proxy for torrent9clone
- https://torrent9.proxyportal.fun/ # this is a proxy for torrent9clone
- https://torrent9.uk-unblock.xyz/ # this is a proxy for torrent9clone
- https://torrent9.ind-unblock.xyz/ # this is a proxy for torrent9clone
caps:
categorymappings:
@ -65,10 +65,10 @@
search:
paths:
- path: "{{ if .Keywords }}/search_torrent/{{ re_replace .Keywords \"[']+\" \"\" }}/page-0{{else}}/top_torrent.html{{end}}"
- path: "{{ if .Keywords }}/search_torrent/{{ .Keywords }}{{else}}{{end}}"
rows:
selector: div.table-responsive > table tbody tr
selector: table.table-striped > tbody > tr
filters:
- name: andmatch
@ -76,9 +76,9 @@
site_date:
selector: td:nth-child(1) a
filters:
# date is at the end of the title, so we get it and name it site_date
# year is at the end of the title, so we get it and name it site_date
- name: regexp
args: "(\\w+)$"
args: "(\\d{4})$"
title:
selector: td:nth-child(1) a
filters:
@ -90,10 +90,10 @@
- name: replace
args: ["TRUEFRENCH", "{{ .Result.site_date }} TRUEFRENCH"]
- name: replace
args: ["VOSTFR", "{{ .Result.site_date }} VOSTFR"]
args: ["VOSTFR", "{{ .Result.site_date }} VOSTFR"]
# and we delete it at the end
- name: re_replace
args: ["(\\w+)$", ""]
args: ["(\\d{4})$", ""]
details:
selector: td:nth-child(1) a
attribute: href
@ -114,32 +114,10 @@
text: "now"
size:
selector: td:nth-child(2)
filters:
- name: re_replace
args: [ "\\.(\\d) Ko", "$1X00"]
- name: re_replace
args: [ " Ko", "000"]
- name: re_replace
args: [ "\\.(\\d) Mo", "$1X00000"]
- name: re_replace
args: [ " Mo", "000000"]
- name: re_replace
args: [ "\\.(\\d) Go", "$1X00000000"]
- name: re_replace
args: [ " Go", "000000000"]
- name: re_replace
args: [ "\\.(\\d) To", "$1X00000000000"]
- name: re_replace
args: [ " To", "000000000000"]
- name: replace
args: [ "X", "" ]
# this is for the search with keywords which returns sizes nnnnn.n without unit indicator.
- name: re_replace
args: [ "(\\d+)\\.\\d", "$1 MB"]
seeders:
text: 0
seeders:
selector: td:nth-child(3) span.seed_ok
selector: td:nth-child(3)
optional: true
leechers:
text: 0