Private GIT

Skip to content
Snippets Groups Projects
Commit e23cdd17 authored by Garfield69's avatar Garfield69 Committed by vlbox
Browse files

t411v2: gone. redirects to yggtorrent.com fix #2040

parent 798aec40
No related branches found
No related tags found
No related merge requests found
......@@ -45,7 +45,6 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/
* RuTor
* ShowRSS
* Sky torrents
* T411 v2
* The Pirate Bay
* TNTVillage <!-- maintained by bonny1992 -->
* Tokyo Toshokan
......
......@@ -196,6 +196,7 @@ namespace Jackett.Updater
"Definitions/zetorrents.yml",
"Definitions/rapidetracker.yml",
"Definitions/isohunt.yml",
"Definitions/t411v2.yml",
};
foreach (var oldFIle in oldFiles)
......
---
site: t411v2
name: t411 v2
description: "t411 v2 is a FRENCH Public site for TV / MOVIES / GENERAL"
language: fr-fr
type: public
encoding: UTF-8
links:
- https://t411.si
caps:
categorymappings:
- {id: 1, cat: Movies, desc: Films}
- {id: 2, cat: TV, desc: Séries}
- {id: 3, cat: TV/Anime, desc: Animes}
- {id: 4, cat: Audio, desc: Musique}
- {id: 5, cat: Books, desc: Ebooks}
- {id: 6, cat: PC/0day, desc: Logiciels}
- {id: 7, cat: PC/Games, desc: Jeux}
- {id: 8, cat: TV/Documentary, desc: Documentaires}
- {id: 9, cat: XXX, desc: XXX}
modes:
search: [q]
tv-search: [q, season, ep]
settings: []
download:
selector: a[href^="/telecharger-torrent/"]
search:
paths:
- path: /torrents/search/?search={{ .Keywords}}
- path: /torrents/search/?search={{ .Keywords}}&page=2
- path: /torrents/search/?search={{ .Keywords}}&page=3
- path: /torrents/search/?search={{ .Keywords}}&page=4
- path: /torrents/search/?search={{ .Keywords}}&page=5
keywordsfilters: #1963
- name: replace # Add Keywords
args: ["Greys Anatomy", "Grey's Anatomy"]
rows:
selector: tr.isItem.isItemsDesk
fields:
category:
selector: td.m-cat > a
attribute: href
filters:
- name: querystring
args: category
site_date:
selector: td.m-name > 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.m-name > a
filters:
- name: replace #1963 Fix Grey's Anatomy results V2
args: ["Grey's Anatomy", "Greys Anatomy"]
# 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.m-name > a
attribute: href
download:
selector: td.m-name > a
attribute: href
size:
selector: td.m-taille > 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: td.m-seeders > span
optional: true
leechers:
text: 0
leechers:
selector: td.m-leechers > span
optional: true
downloadvolumefactor:
text: "0"
uploadvolumefactor:
text: "1"
date:
selector: td.m-age > 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