mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
magnetdl: add alternate domain. resolves #6604
also add config sort option
This commit is contained in:
@@ -7,8 +7,10 @@
|
|||||||
encoding: UTF-8
|
encoding: UTF-8
|
||||||
links:
|
links:
|
||||||
- https://www.magnetdl.com/
|
- https://www.magnetdl.com/
|
||||||
|
- https://magnetdl.unblockninja.com/
|
||||||
legacylinks:
|
legacylinks:
|
||||||
- http://www.magnetdl.com/
|
- http://www.magnetdl.com/
|
||||||
|
https://www.magnetdl.me/ # fake
|
||||||
|
|
||||||
caps:
|
caps:
|
||||||
categories:
|
categories:
|
||||||
@@ -25,7 +27,22 @@
|
|||||||
tv-search: [q, season, ep]
|
tv-search: [q, season, ep]
|
||||||
movie-search: [q]
|
movie-search: [q]
|
||||||
|
|
||||||
settings: []
|
settings:
|
||||||
|
- name: sort
|
||||||
|
type: select
|
||||||
|
label: Sort requested from site
|
||||||
|
default: "age"
|
||||||
|
options:
|
||||||
|
"age": "created"
|
||||||
|
"se": "seeders"
|
||||||
|
"size": "size"
|
||||||
|
- name: type
|
||||||
|
type: select
|
||||||
|
label: Order requested from site
|
||||||
|
default: "desc"
|
||||||
|
options:
|
||||||
|
"desc": "desc"
|
||||||
|
"asc": "asc"
|
||||||
|
|
||||||
search:
|
search:
|
||||||
headers:
|
headers:
|
||||||
@@ -39,9 +56,11 @@
|
|||||||
paths:
|
paths:
|
||||||
# return movie results if there are no search parms supplied (for use with the TEST button)
|
# return movie results if there are no search parms supplied (for use with the TEST button)
|
||||||
# http://www.magnetdl.com/m/midnight-texas-s01e10/
|
# http://www.magnetdl.com/m/midnight-texas-s01e10/
|
||||||
- path: "{{if .Keywords}}{{ re_replace .Keywords \"(.).*\" \"$1\" }}/{{ .Keywords }}/{{else}}download/movies/{{end}}"
|
- path: "{{if .Keywords}}{{ re_replace .Keywords \"(.).*\" \"$1\" }}/{{ .Keywords }}/{{else}}download/movies/{{end}}{{ .Config.sort }}/{{ .Config.type }}/"
|
||||||
|
|
||||||
rows:
|
rows:
|
||||||
selector: tr:has(td.m)
|
selector: tr:has(td.m)
|
||||||
|
|
||||||
fields:
|
fields:
|
||||||
title:
|
title:
|
||||||
selector: td.n a
|
selector: td.n a
|
||||||
@@ -68,6 +87,6 @@
|
|||||||
leechers:
|
leechers:
|
||||||
selector: td.l
|
selector: td.l
|
||||||
downloadvolumefactor:
|
downloadvolumefactor:
|
||||||
text: "0"
|
text: 0
|
||||||
uploadvolumefactor:
|
uploadvolumefactor:
|
||||||
text: "1"
|
text: 1
|
||||||
|
Reference in New Issue
Block a user