mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
* New nextorrent URL Change url to : http://www.nextorrent.cx Fix search url * new cpasbien url Change to : http://cpabien.cc * Add zetorrents tracker
This commit is contained in:

committed by
flightlevel

parent
f6272032a6
commit
3c6e77a2ca
@@ -43,6 +43,7 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/
|
|||||||
* Torrent Downloads
|
* Torrent Downloads
|
||||||
* TorrentProject
|
* TorrentProject
|
||||||
* Torrentz2
|
* Torrentz2
|
||||||
|
* zetorrents
|
||||||
|
|
||||||
### Supported Private Trackers
|
### Supported Private Trackers
|
||||||
* 2 Fast 4 You
|
* 2 Fast 4 You
|
||||||
|
@@ -5,7 +5,7 @@
|
|||||||
type: public
|
type: public
|
||||||
encoding: UTF-8
|
encoding: UTF-8
|
||||||
links:
|
links:
|
||||||
- http://cpabien.co
|
- http://cpabien.cc/
|
||||||
|
|
||||||
caps:
|
caps:
|
||||||
categorymappings:
|
categorymappings:
|
||||||
|
@@ -5,7 +5,7 @@
|
|||||||
type: public
|
type: public
|
||||||
encoding: UTF-8
|
encoding: UTF-8
|
||||||
links:
|
links:
|
||||||
- https://www.nextorrent.biz/
|
- http://www.nextorrent.cx/
|
||||||
|
|
||||||
caps:
|
caps:
|
||||||
categorymappings:
|
categorymappings:
|
||||||
@@ -22,7 +22,7 @@
|
|||||||
selector: a[href^="/get_torrent/"]
|
selector: a[href^="/get_torrent/"]
|
||||||
|
|
||||||
search:
|
search:
|
||||||
path: "/torrents/recherche/{{ .Query.Keywords }}"
|
path: "recherche/{{ .Query.Keywords }}"
|
||||||
rows:
|
rows:
|
||||||
selector: div.listing-torrent > table tbody tr
|
selector: div.listing-torrent > table tbody tr
|
||||||
fields:
|
fields:
|
||||||
|
88
src/Jackett/Definitions/zetorrents.yml
Normal file
88
src/Jackett/Definitions/zetorrents.yml
Normal file
@@ -0,0 +1,88 @@
|
|||||||
|
---
|
||||||
|
site: zetorrents
|
||||||
|
name: zetorrents
|
||||||
|
language: fr-fr
|
||||||
|
type: public
|
||||||
|
encoding: UTF-8
|
||||||
|
links:
|
||||||
|
- http://www.zetorrents.cc/
|
||||||
|
|
||||||
|
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: "/recherche/{{ .Query.Keywords }}"
|
||||||
|
rows:
|
||||||
|
selector: div.content-list-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"
|
Reference in New Issue
Block a user