mirror of
https://github.com/Jackett/Jackett
synced 2025-02-25 07:32:38 +00:00
Add M-Team - TP tracker
This commit is contained in:
parent
a399e8d0a5
commit
b8d40b5259
3 changed files with 125 additions and 0 deletions
|
@ -62,6 +62,7 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/
|
||||||
* ILoveTorrents
|
* ILoveTorrents
|
||||||
* Immortalseed
|
* Immortalseed
|
||||||
* IPTorrents
|
* IPTorrents
|
||||||
|
* M-Team - TP
|
||||||
* MoreThanTV
|
* MoreThanTV
|
||||||
* MyAnonamouse
|
* MyAnonamouse
|
||||||
* myAmity
|
* myAmity
|
||||||
|
|
121
src/Jackett/Definitions/mteamtp.yml
Normal file
121
src/Jackett/Definitions/mteamtp.yml
Normal file
|
@ -0,0 +1,121 @@
|
||||||
|
---
|
||||||
|
site: mteamtp
|
||||||
|
name: M-Team - TP
|
||||||
|
description: "A chinese tracker"
|
||||||
|
language: zh-cn
|
||||||
|
encoding: UTF-8
|
||||||
|
links:
|
||||||
|
- https://tp.m-team.cc
|
||||||
|
|
||||||
|
caps:
|
||||||
|
categories:
|
||||||
|
401: Movies/SD # Movie(電影)/SD
|
||||||
|
419: Movies/HD # Movie(電影)/HD
|
||||||
|
420: Movies/DVD # Movie(電影)/DVDiSo
|
||||||
|
421: Movies/BluRay # Movie(電影)/Blu-Ray
|
||||||
|
439: Movies/Other # Movie(電影)/Remux
|
||||||
|
403: TV/SD # TV Series(影劇/綜藝)/SD
|
||||||
|
402: TV/HD # TV Series(影劇/綜藝)/HD
|
||||||
|
435: TV/SD # TV Series(影劇/綜藝)/DVDiSo
|
||||||
|
438: TV/HD # TV Series(影劇/綜藝)/BD
|
||||||
|
404: TV/Documentary # 紀錄教育
|
||||||
|
405: TV/Anime # Anime(動畫)
|
||||||
|
406: Audio/Video # MV(演唱)
|
||||||
|
408: Audio/Other # Music(AAC/ALAC)
|
||||||
|
434: Audio # Music(無損)
|
||||||
|
407: TV/Sport # Sports(運動)
|
||||||
|
422: PC/0day # Software(軟體)
|
||||||
|
423: PC/Games # PCGame(PC遊戲)
|
||||||
|
427: Books # eBook(電子書)
|
||||||
|
409: Other # Misc(其他)
|
||||||
|
|
||||||
|
modes:
|
||||||
|
search: [q]
|
||||||
|
tv-search: [q, season, ep]
|
||||||
|
|
||||||
|
login:
|
||||||
|
path: takelogin.php
|
||||||
|
method: post
|
||||||
|
inputs:
|
||||||
|
username: "{{ .Config.username }}"
|
||||||
|
password: "{{ .Config.password }}"
|
||||||
|
error:
|
||||||
|
- selector: td.embedded:has(h2:contains("failed"))
|
||||||
|
test:
|
||||||
|
path: /torrents.php
|
||||||
|
|
||||||
|
ratio:
|
||||||
|
path: /torrents.php
|
||||||
|
selector: table#info_block
|
||||||
|
filters:
|
||||||
|
- name: regexp
|
||||||
|
args: "Ratio:\\s(.*?)\\s\\s"
|
||||||
|
|
||||||
|
search:
|
||||||
|
path: /torrents.php
|
||||||
|
method: post
|
||||||
|
inputs:
|
||||||
|
$raw: "{{range .Categories}}cat{{.}}=1&{{end}}"
|
||||||
|
search: "{{ .Query.Keywords }}"
|
||||||
|
incldead: "1"
|
||||||
|
spstate: "0"
|
||||||
|
inclbookmarked: "0"
|
||||||
|
search_area: "0"
|
||||||
|
search_mode: "0"
|
||||||
|
rows:
|
||||||
|
selector: table.torrents > tbody > tr:has(table.torrentname)
|
||||||
|
fields:
|
||||||
|
title:
|
||||||
|
selector: a[title][href^="details.php?id="]
|
||||||
|
attribute: title
|
||||||
|
category:
|
||||||
|
selector: a[href^="?cat="]
|
||||||
|
attribute: href
|
||||||
|
filters:
|
||||||
|
- name: querystring
|
||||||
|
args: cat
|
||||||
|
details:
|
||||||
|
selector: a[title][href^="details.php?id="]
|
||||||
|
attribute: href
|
||||||
|
download:
|
||||||
|
selector: a[href^="download.php?id="]
|
||||||
|
attribute: href
|
||||||
|
banner:
|
||||||
|
selector: img[alt="torrent thumbnail"]
|
||||||
|
attribute: src
|
||||||
|
filters:
|
||||||
|
- name: replace
|
||||||
|
args: ["pic/nopic.jpg", ""]
|
||||||
|
size:
|
||||||
|
selector: td.rowfollow:nth-child(5)
|
||||||
|
grabs:
|
||||||
|
selector: td.rowfollow:nth-child(8)
|
||||||
|
seeders:
|
||||||
|
selector: td.rowfollow:nth-child(6)
|
||||||
|
leechers:
|
||||||
|
selector: td.rowfollow:nth-child(7)
|
||||||
|
date:
|
||||||
|
selector: td.rowfollow:nth-child(4) > span[title]
|
||||||
|
attribute: title
|
||||||
|
filters:
|
||||||
|
- name: append
|
||||||
|
args: " +08:00"
|
||||||
|
- name: dateparse
|
||||||
|
args: "2006-01-02 15:04:05 -07:00"
|
||||||
|
downloadvolumefactor:
|
||||||
|
case:
|
||||||
|
img.pro_free: "0"
|
||||||
|
img.pro_free2up: "0"
|
||||||
|
img.pro_50pctdown: "0.5"
|
||||||
|
img.pro_50pctdown2up: "0.5"
|
||||||
|
img.pro_30pctdown: "0.3"
|
||||||
|
"*": "1"
|
||||||
|
uploadvolumefactor:
|
||||||
|
case:
|
||||||
|
img.pro_50pctdown2up: "2"
|
||||||
|
img.pro_free2up: "2"
|
||||||
|
img.pro_2up: "2"
|
||||||
|
"*": "1"
|
||||||
|
description:
|
||||||
|
selector: td:nth-child(2)
|
||||||
|
remove: a, img
|
|
@ -491,6 +491,9 @@
|
||||||
<Content Include="Definitions\hdsky.yml">
|
<Content Include="Definitions\hdsky.yml">
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
</Content>
|
</Content>
|
||||||
|
<Content Include="Definitions\mteamtp.yml">
|
||||||
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
|
</Content>
|
||||||
<None Include="packages.config">
|
<None Include="packages.config">
|
||||||
<SubType>Designer</SubType>
|
<SubType>Designer</SubType>
|
||||||
</None>
|
</None>
|
||||||
|
|
Loading…
Reference in a new issue