nextorrent: back to original domain #3081

This commit is contained in:
Garfield69
2018-05-10 09:04:04 +12:00
parent 784c41b83a
commit cb292bbf06

View File

@@ -6,9 +6,9 @@
type: public type: public
encoding: UTF-8 encoding: UTF-8
links: links:
- https://www.nextorrent.site/ - http://www.nextorrent.tv/
# don't forget to check the download selector which uses a case sensitive portion of the SiteLink ;-)
legacylinks: legacylinks:
- https://www.nextorrent.site/
- http://www.nextorrent.site/ - http://www.nextorrent.site/
- http://www.nextorrent.bz/ - http://www.nextorrent.bz/
- http://www.nextorrent.pro/ - http://www.nextorrent.pro/
@@ -18,11 +18,12 @@
caps: caps:
categorymappings: categorymappings:
- {id: Film, cat: Movies, desc: "Movies"} - {id: Films, cat: Movies, desc: "Movies"}
- {id: Séries, cat: TV, desc: "TV"} - {id: Séries, cat: TV, desc: "TV"}
- {id: Animes, cat: TV/Anime, desc: "TV/Anime"} - {id: Jeux-PC, cat: PC/Games, desc: "Games PC"}
- {id: Jeux, cat: Console, desc: "Games"} - {id: Jeux-Consoles, cat: Console, desc: "Games Console"}
- {id: Ebooks, cat: Books, desc: "EBooks"} - {id: Musique, cat: Audio, desc: "Music"}
- {id: Ebook, cat: Books, desc: "EBooks"}
- {id: Logiciels, cat: PC, desc: "Software"} - {id: Logiciels, cat: PC, desc: "Software"}
modes: modes:
@@ -33,24 +34,22 @@
settings: [] settings: []
download: download:
selector: a[href^="/_get/www.Nextorrent.Site-"] selector: a[href^="/get_torrent/"]
search: search:
paths: paths:
- path: / - path: "recherche/{{ .Query.Keywords }}"
inputs:
s: "{{ .Keywords }}"
rows: rows:
selector: article[id^="post-"] selector: div.listing-torrent > table tbody tr:has(a)
fields: fields:
site_date: site_date:
selector: h2 a selector: td:nth-child(1) a
filters: filters:
# date is at the end of the title, so we get it and name it site_date # date is at the end of the title, so we get it and name it site_date
- name: regexp - name: regexp
args: "(\\w+)$" args: "(\\w+)$"
title: title:
selector: h2 a selector: td:nth-child(1) a
filters: filters:
# now we put the date at the right place according scene naming rules using .Result.site_date # now we put the date at the right place according scene naming rules using .Result.site_date
- name: replace - name: replace
@@ -63,32 +62,28 @@
- name: re_replace - name: re_replace
args: ["(\\w+)$", ""] args: ["(\\w+)$", ""]
details: details:
selector: h2 a selector: td:nth-child(1) a
attribute: href attribute: href
download: download:
selector: h2 a selector: td:nth-child(1) a
attribute: href attribute: href
banner:
selector: div.post_image
attribute: src
category: category:
selector: p.meta span.post-category a selector: td:nth-child(1) i
attribute: class
size: size:
# there is no size on the primary search results page. defaulting to 500 MB selector: td:nth-child(2)
text: "500 MB"
date: date:
selector: p.meta span.post-date a time.entry-date text: now
attribute: datetime
filters:
- name: dateparse
args: "2006-01-02T15:04:05-07:00"
seeders: seeders:
# there is no seeders on the primary search results page. defaulting to 999 text: 0
text: 999 seeders:
optional: true
selector: td:nth-child(3)
leechers: leechers:
# there is no leechers on the primary search results page. defaulting to 999 text: 0
text: 999 leechers:
optional: true
selector: td:nth-child(4)
downloadvolumefactor: downloadvolumefactor:
text: "0" text: "0"
uploadvolumefactor: uploadvolumefactor: