mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
add magnetcat a public site. resolves #15590
This commit is contained in:
@@ -80,6 +80,7 @@ A third-party Golang SDK for Jackett is available from [webtor-io/go-jackett](ht
|
|||||||
* LimeTorrents
|
* LimeTorrents
|
||||||
* LinuxTracker
|
* LinuxTracker
|
||||||
* Mac Torrents Download
|
* Mac Torrents Download
|
||||||
|
* Magnet Cat
|
||||||
* MegaPeer
|
* MegaPeer
|
||||||
* MejorTorrent
|
* MejorTorrent
|
||||||
* Mikan
|
* Mikan
|
||||||
|
92
src/Jackett.Common/Definitions/magnetcat.yml
Normal file
92
src/Jackett.Common/Definitions/magnetcat.yml
Normal file
@@ -0,0 +1,92 @@
|
|||||||
|
---
|
||||||
|
id: magnetcat
|
||||||
|
name: Magnet Cat
|
||||||
|
description: "Magnet Cat is a Public Tracker for MOVIES / TV / GENERAL"
|
||||||
|
language: en-US
|
||||||
|
type: public
|
||||||
|
encoding: UTF-8
|
||||||
|
links:
|
||||||
|
- https://magnetcatcat.com/
|
||||||
|
|
||||||
|
caps:
|
||||||
|
categorymappings:
|
||||||
|
- {id: 影视, cat: TV, desc: 影视}
|
||||||
|
- {id: 影视, cat: Movies, desc: 影视}
|
||||||
|
- {id: 音乐, cat: Audio, desc: 音乐}
|
||||||
|
- {id: 图像, cat: Other, desc: 图像}
|
||||||
|
- {id: 文档书籍, cat: Books, desc: 文档书籍}
|
||||||
|
- {id: 压缩文件, cat: Other, desc: 压缩文件}
|
||||||
|
- {id: 安装包, cat: PC, desc: 安装包}
|
||||||
|
- {id: 其他, cat: Other, desc: 其他}
|
||||||
|
|
||||||
|
modes:
|
||||||
|
search: [q]
|
||||||
|
tv-search: [q, season, ep]
|
||||||
|
movie-search: [q]
|
||||||
|
music-search: [q]
|
||||||
|
book-search: [q]
|
||||||
|
|
||||||
|
settings:
|
||||||
|
- name: cat-id
|
||||||
|
type: select
|
||||||
|
label: Category
|
||||||
|
default: 0
|
||||||
|
options:
|
||||||
|
0: All categories
|
||||||
|
1: Movies and TV shows
|
||||||
|
2: Music
|
||||||
|
3: Images
|
||||||
|
4: Documents and books
|
||||||
|
5: Compressed files
|
||||||
|
6: Installer packages
|
||||||
|
7: Other
|
||||||
|
- name: sort
|
||||||
|
type: select
|
||||||
|
label: Sort requested from site
|
||||||
|
default: 2
|
||||||
|
options:
|
||||||
|
2: created
|
||||||
|
1: size
|
||||||
|
0: relevance
|
||||||
|
|
||||||
|
search:
|
||||||
|
paths:
|
||||||
|
- path: "search-{{ if .Keywords }}{{ .Keywords }}{{ else }}{{ .Today.Year }}{{ end }}-{{ .Config.cat-id }}-{{ .Config.sort }}-1.html"
|
||||||
|
error:
|
||||||
|
- selector: :root:contains("Internal Server Error")
|
||||||
|
|
||||||
|
rows:
|
||||||
|
selector: div.ssbox
|
||||||
|
|
||||||
|
fields:
|
||||||
|
categorydesc:
|
||||||
|
selector: div.title > h3 > span
|
||||||
|
filters:
|
||||||
|
- name: re_replace
|
||||||
|
args: ["([\\[\\]]+)", ""]
|
||||||
|
title:
|
||||||
|
selector: a[href^="/hash/"]
|
||||||
|
details:
|
||||||
|
selector: a[href^="/hash/"]
|
||||||
|
attribute: href
|
||||||
|
magnet:
|
||||||
|
selector: a[href^="magnet:?xt="]
|
||||||
|
attribute: href
|
||||||
|
date:
|
||||||
|
selector: div.sbar > span:contains("Date added:") > b
|
||||||
|
filters:
|
||||||
|
- name: append
|
||||||
|
args: " +08:00" # CST
|
||||||
|
- name: dateparse
|
||||||
|
args: "yyyy-MM-dd zzz"
|
||||||
|
size:
|
||||||
|
selector: div.sbar > span:contains("Size:") > b
|
||||||
|
seeders:
|
||||||
|
text: 1
|
||||||
|
leechers:
|
||||||
|
text: 1
|
||||||
|
downloadvolumefactor:
|
||||||
|
text: 0
|
||||||
|
uploadvolumefactor:
|
||||||
|
text: 1
|
||||||
|
# engine n/a
|
Reference in New Issue
Block a user