mirror of
https://github.com/Jackett/Jackett.git
synced 2025-10-03 08:57:46 +02:00
Add Torrents.Md tracker
This commit is contained in:
@@ -94,6 +94,7 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/
|
|||||||
* TorrentDay
|
* TorrentDay
|
||||||
* TorrentHeaven
|
* TorrentHeaven
|
||||||
* TorrentLeech
|
* TorrentLeech
|
||||||
|
* Torrents.Md
|
||||||
* TorrentShack
|
* TorrentShack
|
||||||
* Torrent-Syndikat
|
* Torrent-Syndikat
|
||||||
* ToTheGlory
|
* ToTheGlory
|
||||||
|
96
src/Jackett/Definitions/torrentsmd.yml
Normal file
96
src/Jackett/Definitions/torrentsmd.yml
Normal file
@@ -0,0 +1,96 @@
|
|||||||
|
---
|
||||||
|
site: torrentsmd
|
||||||
|
name: Torrents.Md
|
||||||
|
language: ru-mo
|
||||||
|
encoding: UTF-8
|
||||||
|
links:
|
||||||
|
- https://torrentsmd.com/
|
||||||
|
|
||||||
|
caps:
|
||||||
|
categories:
|
||||||
|
1: Movies # Filme
|
||||||
|
2: Audio # Muzică
|
||||||
|
3: PC # Software
|
||||||
|
4: Console # Jocuri
|
||||||
|
5: TV # Tv
|
||||||
|
7: Other # Alte
|
||||||
|
8: Books # Cărţi
|
||||||
|
9: Audio/Video # Muzică video
|
||||||
|
10: TV/Anime # Anime
|
||||||
|
11: Movies # Filme animate
|
||||||
|
12: Movies/DVD # DVD
|
||||||
|
13: Movies # Filme documentare
|
||||||
|
14: Audio/Audiobook # Cărţi audio
|
||||||
|
15: Other # Lecţii video
|
||||||
|
16: Other # Fotografii
|
||||||
|
17: TV/Sport # Sport
|
||||||
|
18: TV/HD # HDTV
|
||||||
|
|
||||||
|
modes:
|
||||||
|
search: [q]
|
||||||
|
tv-search: [q, season, ep]
|
||||||
|
|
||||||
|
login:
|
||||||
|
path: login.php
|
||||||
|
method: form
|
||||||
|
form: form
|
||||||
|
inputs:
|
||||||
|
username: "{{ .Config.username }}"
|
||||||
|
password: "{{ .Config.password }}"
|
||||||
|
error:
|
||||||
|
- selector: td.embedded:has(h2:contains("eşuată"))
|
||||||
|
test:
|
||||||
|
path: browse.php
|
||||||
|
|
||||||
|
search:
|
||||||
|
path: "{{if .Query.Keywords}}search.php{{else}}browse.php{{end}}"
|
||||||
|
inputs:
|
||||||
|
search_str: "{{ .Query.Keywords }}"
|
||||||
|
rows:
|
||||||
|
selector: table.tableTorrents > tbody > tr:has(a[href^="/details.php?id="])
|
||||||
|
fields:
|
||||||
|
title:
|
||||||
|
selector: a[href^="/details.php?id="]
|
||||||
|
details:
|
||||||
|
selector: a[href^="/details.php?id="]
|
||||||
|
attribute: href
|
||||||
|
category:
|
||||||
|
selector: a[href^="browse.php?cat="]
|
||||||
|
attribute: href
|
||||||
|
filters:
|
||||||
|
- name: querystring
|
||||||
|
args: cat
|
||||||
|
download:
|
||||||
|
selector: a[href^="/details.php?id="]
|
||||||
|
attribute: href
|
||||||
|
filters:
|
||||||
|
- name: replace
|
||||||
|
args: ["/details.php", "/download.php"]
|
||||||
|
files:
|
||||||
|
selector: td:nth-child(3)
|
||||||
|
date:
|
||||||
|
selector: td:nth-child(5)
|
||||||
|
filters:
|
||||||
|
- name: replace
|
||||||
|
args: ["ore", "hours ago"]
|
||||||
|
- name: replace
|
||||||
|
args: ["minute", "minutes ago"]
|
||||||
|
- name: dateparse
|
||||||
|
args: "01-02 2006"
|
||||||
|
- name: dateparse
|
||||||
|
args: "01-02"
|
||||||
|
size:
|
||||||
|
selector: td:nth-child(6)
|
||||||
|
seeders:
|
||||||
|
selector: td:nth-child(7)
|
||||||
|
leechers:
|
||||||
|
selector: td:nth-child(8)
|
||||||
|
downloadvolumefactor:
|
||||||
|
case:
|
||||||
|
"*": "1"
|
||||||
|
uploadvolumefactor:
|
||||||
|
case:
|
||||||
|
"*": "1"
|
||||||
|
description:
|
||||||
|
selector: td:nth-child(2)
|
||||||
|
remove: a[href^="details.php?id="]
|
@@ -468,6 +468,9 @@
|
|||||||
<Content Include="Definitions\utorrents.yml">
|
<Content Include="Definitions\utorrents.yml">
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
</Content>
|
</Content>
|
||||||
|
<Content Include="Definitions\torrentsmd.yml">
|
||||||
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
|
</Content>
|
||||||
<None Include="packages.config">
|
<None Include="packages.config">
|
||||||
<SubType>Designer</SubType>
|
<SubType>Designer</SubType>
|
||||||
</None>
|
</None>
|
||||||
|
Reference in New Issue
Block a user