Private GIT

Skip to content
Snippets Groups Projects
Commit 45a1de02 authored by Francis Noel's avatar Francis Noel Committed by vlbox
Browse files

t411 v2 (#1620)

* New nextorrent URL

Change url to : http://www.nextorrent.cx
Fix search url

* new cpasbien url

Change to : http://cpabien.cc

* Add zetorrents tracker

* t411 v2 + remove maniatorrent

* Update Jackett.Updater (remove maniatorrent)

* fix the formatting

Change TAB with SPACE
parent 8575210c
Branches
Tags
No related merge requests found
...@@ -29,7 +29,6 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/ ...@@ -29,7 +29,6 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/
* KickAssTorrent * KickAssTorrent
* KickAssTorrent (kat.how clone) * KickAssTorrent (kat.how clone)
* LimeTorrents * LimeTorrents
* Mania-Torrent
* NextTorrent * NextTorrent
* Nyaa.si * Nyaa.si
* Nyaa-Pantsu * Nyaa-Pantsu
...@@ -222,6 +221,7 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/ ...@@ -222,6 +221,7 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/
* Trezzor * Trezzor
* TV Chaos UK * TV Chaos UK
* TV-Vault * TV-Vault
* T411_v2
* u-Torrent * u-Torrent
* UHDBits * UHDBits
* Ultimate Gamer Club * Ultimate Gamer Club
......
...@@ -185,6 +185,7 @@ namespace Jackett.Updater ...@@ -185,6 +185,7 @@ namespace Jackett.Updater
"Definitions/rarbg.yml", "Definitions/rarbg.yml",
"Definitions/t411.yml", "Definitions/t411.yml",
"Definitions/hdbc.yml", // renamed to hdbitscom "Definitions/hdbc.yml", // renamed to hdbitscom
"Definitions/maniatorrent.yml",
"Definitions/nyaa.yml", "Definitions/nyaa.yml",
"Definitions/nachtwerk.yml", "Definitions/nachtwerk.yml",
}; };
......
--- ---
site: maniatorrent site: t411v2
name: Mania-Torrent name: t411 v2
language: fr-fr language: fr-fr
type: public type: semi-private
encoding: UTF-8 encoding: UTF-8
links: links:
- https://www.mania-torrent.ws/ - https://t411.si
caps: caps:
categorymappings: categorymappings:
- {id: films, cat: Movies, desc: "Movies"} - {id: 1, cat: Movies}
- {id: series, cat: TV, desc: "TV"} - {id: 2, cat: TV}
modes: modes:
search: [q] search: [q]
tv-search: [q, season, ep] tv-search: [q, season, ep]
settings: [] settings: []
download: download:
selector: a[href^="/get_torrent/"] selector: a[href^="/telecharger-torrent/"]
search: search:
path: "/torrents/recherche/{{ .Query.Keywords }}" path: /torrents/search/?search={{ .Keywords}}
rows: rows:
selector: div.listing-torrent > table tbody tr selector: div.isItem
fields: fields:
site_date: site_date:
selector: td:nth-child(1) a selector: div.gname 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: td:nth-child(1) a selector: div.gname 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
args: ["FRENCH", "{{ .Result.site_date }} FRENCH"] args: ["FRENCH", "{{ .Result.site_date }} FRENCH"]
- name: replace - name: replace
...@@ -46,43 +45,60 @@ ...@@ -46,43 +45,60 @@
- name: re_replace - name: re_replace
args: ["(\\w+)$", ""] args: ["(\\w+)$", ""]
details: details:
selector: td:nth-child(1) a selector: div.gname a
attribute: href attribute: href
download: download:
selector: td:nth-child(1) a selector: div.gname a
attribute: href attribute: href
size: size:
selector: td:nth-child(2) selector: div.gsmall:nth-child(5) span
filters: filters:
- name: re_replace - name: re_replace
args: [ "\\.(\\d) Ko", "$1X00"] args: [ "\\.(\\w+) K", "$1X00"]
- name: re_replace
args: [ " Ko", "000"]
- name: re_replace - name: re_replace
args: [ "\\.(\\d) Mo", "$1X00000"] args: [ " K", "000"]
- name: re_replace - name: re_replace
args: [ " Mo", "000000"] args: [ "\\.(\\w+) M", "$1X0000"]
- name: re_replace - name: re_replace
args: [ "\\.(\\d) Go", "$1X00000000"] args: [ " M", "000000"]
- name: re_replace - name: re_replace
args: [ " Go", "000000000"] args: [ "\\.(\\w+) G", "$1X0000000"]
- name: re_replace - name: re_replace
args: [ "\\.(\\d) To", "$1X00000000000"] args: [ " G", "000000000"]
- name: re_replace
args: [ " To", "000000000000"]
- name: replace
args: [ "X", "" ]
seeders: seeders:
text: 0 text: 0
seeders: seeders:
selector: td:nth-child(3) selector: div.gsmall:nth-child(6)
optional: true optional: true
leechers: leechers:
text: 0 text: 0
leechers: leechers:
selector: td:nth-child(4) selector: div.gsmall:nth-child(7)
optional: true optional: true
downloadvolumefactor: downloadvolumefactor:
text: "0" text: "0"
uploadvolumefactor: uploadvolumefactor:
text: "1" text: "1"
date:
selector: div.gsmall:nth-child(4) span
filters:
- name: replace
args: [ " jours", " days"]
- name: replace
args: [ " jour", " day"]
- name: replace
args: [ " heures", " hours"]
- name: replace
args: [ " heure", " hour"]
- name: replace
args: [ " semaines", " weeks"]
- name: replace
args: [ " semaine", " week"]
- name: replace
args: [ " mois", " month"]
- name: replace
args: [ " ans", " years"]
- name: replace
args: [ " an", " year"]
- name: append
args: " ago"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment