mirror of
https://github.com/Jackett/Jackett
synced 2025-02-21 22:07:10 +00:00
add Sharewood, a semi-private French tracker. resolves #4898
This commit is contained in:
parent
b71bbe49c5
commit
f3302e5d53
2 changed files with 103 additions and 0 deletions
|
@ -104,6 +104,7 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/
|
||||||
* NoName Club (NNM-Club)
|
* NoName Club (NNM-Club)
|
||||||
* RockBox
|
* RockBox
|
||||||
* RuTracker
|
* RuTracker
|
||||||
|
* Sharewood
|
||||||
* SkTorrent
|
* SkTorrent
|
||||||
* Union Fansub
|
* Union Fansub
|
||||||
* Vanila
|
* Vanila
|
||||||
|
|
102
src/Jackett.Common/Definitions/sharewood.yml
Normal file
102
src/Jackett.Common/Definitions/sharewood.yml
Normal file
|
@ -0,0 +1,102 @@
|
||||||
|
---
|
||||||
|
site: sharewood
|
||||||
|
name: Sharewood
|
||||||
|
description: "sharewood is a Semi-Private FRENCH Torrent Tracker for GENERAL"
|
||||||
|
language: fr-fr
|
||||||
|
type: semi-private
|
||||||
|
encoding: UTF-8
|
||||||
|
links:
|
||||||
|
- https://www.sharewood.tv/
|
||||||
|
|
||||||
|
caps:
|
||||||
|
categorymappings:
|
||||||
|
- {id: "Vidéos Torrent", cat: Movies, desc: "Vidéos"}
|
||||||
|
- {id: "Audios Torrent", cat: Audio, desc: "Audios"}
|
||||||
|
- {id: "Applications Torrent", cat: PC, desc: "Applications"}
|
||||||
|
- {id: "Ebooks Torrent", cat: Books, desc: "Ebooks"}
|
||||||
|
- {id: "Jeux-Vidéos Torrent", cat: Console, desc: "Jeux-Vidéos"}
|
||||||
|
- {id: "Formations Torrent", cat: Other, desc: "Formations"}
|
||||||
|
- {id: "XXX Torrent", cat: XXX, desc: "XXX"}
|
||||||
|
|
||||||
|
modes:
|
||||||
|
search: [q]
|
||||||
|
tv-search: [q, season, ep]
|
||||||
|
movie-search: [q]
|
||||||
|
|
||||||
|
login:
|
||||||
|
path: login
|
||||||
|
method: form
|
||||||
|
inputs:
|
||||||
|
username: "{{ .Config.username }}"
|
||||||
|
password: "{{ .Config.password }}"
|
||||||
|
remember: 1
|
||||||
|
selectorinputs:
|
||||||
|
_token:
|
||||||
|
selector: meta[name="csrf-token"]
|
||||||
|
attribute: content
|
||||||
|
error:
|
||||||
|
- selector: form[action$="/login"] .text-red
|
||||||
|
test:
|
||||||
|
path: /
|
||||||
|
selector: a[href$="/logout"]
|
||||||
|
|
||||||
|
ratio:
|
||||||
|
path: /
|
||||||
|
selector: li:has(i.fa-signal)
|
||||||
|
filters:
|
||||||
|
- name: regexp
|
||||||
|
args: "Ratio : (\\d+)"
|
||||||
|
|
||||||
|
search:
|
||||||
|
paths:
|
||||||
|
- path: filterTorrents
|
||||||
|
inputs:
|
||||||
|
search: "{{ .Keywords }}"
|
||||||
|
uploader: ""
|
||||||
|
sort: created_at
|
||||||
|
direction: desc
|
||||||
|
qty: 100
|
||||||
|
rows:
|
||||||
|
selector: div.table-responsive-line
|
||||||
|
fields:
|
||||||
|
category:
|
||||||
|
selector: i.torrent-icon
|
||||||
|
attribute: data-original-title
|
||||||
|
title:
|
||||||
|
selector: a.view-torrent
|
||||||
|
download:
|
||||||
|
selector: a.view-torrent
|
||||||
|
attribute: href
|
||||||
|
filters:
|
||||||
|
- name: replace
|
||||||
|
args: ["/torrents/", "/download/"]
|
||||||
|
details:
|
||||||
|
selector: a.view-torrent
|
||||||
|
attribute: href
|
||||||
|
size:
|
||||||
|
selector: div.col-detail div.row div:nth-child(2)
|
||||||
|
seeders:
|
||||||
|
selector: div.bouton-s
|
||||||
|
leechers:
|
||||||
|
selector: div.bouton-l
|
||||||
|
date:
|
||||||
|
selector: div.col-detail div.row div span
|
||||||
|
filters:
|
||||||
|
- name: replace
|
||||||
|
args: ["il y a ", ""]
|
||||||
|
- name: replace
|
||||||
|
args: ["heure", "hour"]
|
||||||
|
- name: replace
|
||||||
|
args: ["jour", "day"]
|
||||||
|
- name: replace
|
||||||
|
args: ["semaine", "week"]
|
||||||
|
- name: replace
|
||||||
|
args: ["mois", "month"]
|
||||||
|
- name: append
|
||||||
|
args: " ago"
|
||||||
|
downloadvolumefactor:
|
||||||
|
case:
|
||||||
|
"*": "1"
|
||||||
|
uploadvolumefactor:
|
||||||
|
case:
|
||||||
|
"*": "1"
|
Loading…
Reference in a new issue