mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
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
This commit is contained in:

committed by
flightlevel

parent
4e04bbbcf4
commit
f2ce167bbf
@@ -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/
|
|||||||
* 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
|
|||||||
"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",
|
||||||
};
|
};
|
||||||
|
@@ -1,88 +0,0 @@
|
|||||||
---
|
|
||||||
site: maniatorrent
|
|
||||||
name: Mania-Torrent
|
|
||||||
language: fr-fr
|
|
||||||
type: public
|
|
||||||
encoding: UTF-8
|
|
||||||
links:
|
|
||||||
- https://www.mania-torrent.ws/
|
|
||||||
|
|
||||||
caps:
|
|
||||||
categorymappings:
|
|
||||||
- {id: films, cat: Movies, desc: "Movies"}
|
|
||||||
- {id: series, cat: TV, desc: "TV"}
|
|
||||||
|
|
||||||
modes:
|
|
||||||
search: [q]
|
|
||||||
tv-search: [q, season, ep]
|
|
||||||
|
|
||||||
settings: []
|
|
||||||
|
|
||||||
download:
|
|
||||||
selector: a[href^="/get_torrent/"]
|
|
||||||
|
|
||||||
search:
|
|
||||||
path: "/torrents/recherche/{{ .Query.Keywords }}"
|
|
||||||
rows:
|
|
||||||
selector: div.listing-torrent > table tbody tr
|
|
||||||
fields:
|
|
||||||
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
|
|
||||||
- name: regexp
|
|
||||||
args: "(\\w+)$"
|
|
||||||
title:
|
|
||||||
selector: td:nth-child(1) a
|
|
||||||
filters:
|
|
||||||
# now we put the date at the right place according scene naming rules using .Result.site_date
|
|
||||||
- name: replace
|
|
||||||
args: ["FRENCH", "{{ .Result.site_date }} FRENCH"]
|
|
||||||
- name: replace
|
|
||||||
args: ["TRUEFRENCH", "{{ .Result.site_date }} TRUEFRENCH"]
|
|
||||||
- name: replace
|
|
||||||
args: ["VOSTFR", "{{ .Result.site_date }} VOSTFR"]
|
|
||||||
# and we delete it at the end
|
|
||||||
- name: re_replace
|
|
||||||
args: ["(\\w+)$", ""]
|
|
||||||
details:
|
|
||||||
selector: td:nth-child(1) a
|
|
||||||
attribute: href
|
|
||||||
download:
|
|
||||||
selector: td:nth-child(1) a
|
|
||||||
attribute: href
|
|
||||||
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", "" ]
|
|
||||||
seeders:
|
|
||||||
text: 0
|
|
||||||
seeders:
|
|
||||||
selector: td:nth-child(3)
|
|
||||||
optional: true
|
|
||||||
leechers:
|
|
||||||
text: 0
|
|
||||||
leechers:
|
|
||||||
selector: td:nth-child(4)
|
|
||||||
optional: true
|
|
||||||
downloadvolumefactor:
|
|
||||||
text: "0"
|
|
||||||
uploadvolumefactor:
|
|
||||||
text: "1"
|
|
104
src/Jackett/Definitions/t411v2.yml
Normal file
104
src/Jackett/Definitions/t411v2.yml
Normal file
@@ -0,0 +1,104 @@
|
|||||||
|
---
|
||||||
|
site: t411v2
|
||||||
|
name: t411 v2
|
||||||
|
language: fr-fr
|
||||||
|
type: semi-private
|
||||||
|
encoding: UTF-8
|
||||||
|
links:
|
||||||
|
- https://t411.si
|
||||||
|
caps:
|
||||||
|
categorymappings:
|
||||||
|
- {id: 1, cat: Movies}
|
||||||
|
- {id: 2, cat: TV}
|
||||||
|
modes:
|
||||||
|
search: [q]
|
||||||
|
tv-search: [q, season, ep]
|
||||||
|
settings: []
|
||||||
|
|
||||||
|
download:
|
||||||
|
selector: a[href^="/telecharger-torrent/"]
|
||||||
|
|
||||||
|
search:
|
||||||
|
path: /torrents/search/?search={{ .Keywords}}
|
||||||
|
rows:
|
||||||
|
selector: div.isItem
|
||||||
|
fields:
|
||||||
|
site_date:
|
||||||
|
selector: div.gname a
|
||||||
|
filters:
|
||||||
|
# date is at the end of the title, so we get it and name it
|
||||||
|
# site_date
|
||||||
|
- name: regexp
|
||||||
|
args: "(\\w+)$"
|
||||||
|
title:
|
||||||
|
selector: div.gname a
|
||||||
|
filters:
|
||||||
|
# now we put the date at the right place according scene
|
||||||
|
# naming rules using .Result.site_date
|
||||||
|
- name: replace
|
||||||
|
args: ["FRENCH", "{{ .Result.site_date }} FRENCH"]
|
||||||
|
- name: replace
|
||||||
|
args: ["TRUEFRENCH", "{{ .Result.site_date }} TRUEFRENCH"]
|
||||||
|
- name: replace
|
||||||
|
args: ["VOSTFR", "{{ .Result.site_date }} VOSTFR"]
|
||||||
|
# and we delete it at the end
|
||||||
|
- name: re_replace
|
||||||
|
args: ["(\\w+)$", ""]
|
||||||
|
details:
|
||||||
|
selector: div.gname a
|
||||||
|
attribute: href
|
||||||
|
download:
|
||||||
|
selector: div.gname a
|
||||||
|
attribute: href
|
||||||
|
size:
|
||||||
|
selector: div.gsmall:nth-child(5) span
|
||||||
|
filters:
|
||||||
|
- name: re_replace
|
||||||
|
args: [ "\\.(\\w+) K", "$1X00"]
|
||||||
|
- name: re_replace
|
||||||
|
args: [ " K", "000"]
|
||||||
|
- name: re_replace
|
||||||
|
args: [ "\\.(\\w+) M", "$1X0000"]
|
||||||
|
- name: re_replace
|
||||||
|
args: [ " M", "000000"]
|
||||||
|
- name: re_replace
|
||||||
|
args: [ "\\.(\\w+) G", "$1X0000000"]
|
||||||
|
- name: re_replace
|
||||||
|
args: [ " G", "000000000"]
|
||||||
|
seeders:
|
||||||
|
text: 0
|
||||||
|
seeders:
|
||||||
|
selector: div.gsmall:nth-child(6)
|
||||||
|
optional: true
|
||||||
|
leechers:
|
||||||
|
text: 0
|
||||||
|
leechers:
|
||||||
|
selector: div.gsmall:nth-child(7)
|
||||||
|
optional: true
|
||||||
|
downloadvolumefactor:
|
||||||
|
text: "0"
|
||||||
|
uploadvolumefactor:
|
||||||
|
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"
|
Reference in New Issue
Block a user