mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
@@ -51,6 +51,7 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/
|
|||||||
* KikiBT
|
* KikiBT
|
||||||
* LimeTorrents
|
* LimeTorrents
|
||||||
* MacTorrents
|
* MacTorrents
|
||||||
|
* MagnetDL
|
||||||
* MejorTorrent <!-- maintained by ivandelabeldad -->
|
* MejorTorrent <!-- maintained by ivandelabeldad -->
|
||||||
* Monova
|
* Monova
|
||||||
* Newpct (aka: tvsinpagar, descargas2020, torrentlocura, torrentrapid, tumejortorrent, pctnew, etc)
|
* Newpct (aka: tvsinpagar, descargas2020, torrentlocura, torrentrapid, tumejortorrent, pctnew, etc)
|
||||||
|
72
src/Jackett.Common/Definitions/magnetdl.yml
Normal file
72
src/Jackett.Common/Definitions/magnetdl.yml
Normal file
@@ -0,0 +1,72 @@
|
|||||||
|
---
|
||||||
|
site: magnetdl
|
||||||
|
name: MagnetDL
|
||||||
|
description: "MagnetDL is a Public torrent Magnet Links search engine"
|
||||||
|
language: en-us
|
||||||
|
type: public
|
||||||
|
encoding: UTF-8
|
||||||
|
links:
|
||||||
|
- https://www.magnetdl.com/
|
||||||
|
legacylinks:
|
||||||
|
- http://www.magnetdl.com/
|
||||||
|
|
||||||
|
caps:
|
||||||
|
categories:
|
||||||
|
"TV": TV
|
||||||
|
"Movie": Movies
|
||||||
|
"Music": Audio
|
||||||
|
"E-Book": Books/Ebook
|
||||||
|
"Game": PC/Games
|
||||||
|
"Software": PC
|
||||||
|
"Other": Other
|
||||||
|
|
||||||
|
modes:
|
||||||
|
search: [q]
|
||||||
|
tv-search: [q, season, ep]
|
||||||
|
movie-search: [q]
|
||||||
|
|
||||||
|
settings: []
|
||||||
|
|
||||||
|
search:
|
||||||
|
headers:
|
||||||
|
# prevent redirect
|
||||||
|
Accept: ["text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8"]
|
||||||
|
keywordsfilters:
|
||||||
|
# replace space between keywords with - to prevent 404 Not Found
|
||||||
|
- name: re_replace
|
||||||
|
args: [" ", "-"]
|
||||||
|
- name: tolower
|
||||||
|
paths:
|
||||||
|
# return movie results if there are no search parms supplied (for use with the TEST button)
|
||||||
|
# http://www.magnetdl.com/m/midnight-texas-s01e10/
|
||||||
|
# using "invalid-cat" in the default case (empty keywords) causes no category limitation
|
||||||
|
- path: "{{if .Keywords}}{{ re_replace .Keywords \"(.).*\" \"$1\" }}/{{ .Keywords }}/{{else}}download/invalid-cat/{{end}}"
|
||||||
|
rows:
|
||||||
|
selector: tr:has(td[class="m"])
|
||||||
|
fields:
|
||||||
|
title:
|
||||||
|
selector: td[class="n"] a
|
||||||
|
attribute: title
|
||||||
|
category:
|
||||||
|
optional: true
|
||||||
|
selector: td[class^="t"]
|
||||||
|
details:
|
||||||
|
selector: td[class="n"] a
|
||||||
|
attribute: href
|
||||||
|
magnet:
|
||||||
|
selector: td[class="m"] a
|
||||||
|
attribute: href
|
||||||
|
date:
|
||||||
|
selector: td:nth-child(3)
|
||||||
|
filters:
|
||||||
|
- name: timeago
|
||||||
|
size:
|
||||||
|
selector: td:nth-child(6)
|
||||||
|
seeders:
|
||||||
|
selector: td[class="s"]
|
||||||
|
files:
|
||||||
|
selector: td[class="l"]
|
||||||
|
downloadvolumefactor:
|
||||||
|
text: "0"
|
||||||
|
uploadvolumefactor:
|
||||||
|
text: "1"
|
@@ -338,7 +338,6 @@ namespace Jackett.Updater
|
|||||||
"Definitions/gods.yml",
|
"Definitions/gods.yml",
|
||||||
"Definitions/freedomhd.yml",
|
"Definitions/freedomhd.yml",
|
||||||
"Definitions/sharingue.yml",
|
"Definitions/sharingue.yml",
|
||||||
"Definitions/magnetdl.yml",
|
|
||||||
};
|
};
|
||||||
|
|
||||||
foreach (var oldFile in oldFiles)
|
foreach (var oldFile in oldFiles)
|
||||||
|
Reference in New Issue
Block a user