Jackett/src/Jackett.Common/Definitions/magnet4you.yml

93 lines
2.1 KiB
YAML

---
id: magnet4you
name: Magnet4You
description: "Magnet4You is a Public magnet search engine"
language: en-us
type: public
encoding: UTF-8
links:
- https://magnet4you.me/
- https://magnet4you.unblocked.rest/
legacylinks:
- http://magnet4you.me/
- https://magnet4you.black-mirror.xyz/
- https://magnet4you.unblocked.casa/
- https://magnet4you.proxyportal.fun/
- https://magnet4you.uk-unblock.xyz/
- https://magnet4you.ind-unblock.xyz/
- https://magnet4you.unblocked.bar/
- https://magnet4you.proxyportal.pw/
- https://magnet4you.uk-unblock.pro/
caps:
categories:
Other: Other
modes:
search: [q]
tv-search: [q, season, ep]
movie-search: [q]
settings:
- name: info_8000
type: info
label: About Magnet4You Categories
default: Magnet4You does not return categories in its search results.</br>To add to your Apps' Torznab indexer, replace all categories with 8000(Other).
- name: sort
type: select
label: Sort requested from site
default: uploaded
options:
uploaded: created
seed: seeders
size: size
title: name
search:
paths:
- path: "{{ if .Keywords }}search.php?s={{ .Keywords }}&sort={{ .Config.sort }}{{ else }}browse.php?sort={{ .Config.sort }}{{ end }}"
rows:
selector: table.tb4 > tbody > tr:has(a[href^="magnet:?xt="])
fields:
category:
text: Other
title:
selector: a[href^="magnet/"]
details:
selector: a[href^="magnet/"]
attribute: href
magnet:
selector: a[href^="magnet:?xt="]
attribute: href
date:
selector: td:nth-child(2)
filters:
- name: timeago
size:
selector: td:nth-child(3)
filters:
- name: replace
args: ["Undefined", "0 B"]
seeders:
selector: td:nth-child(5)
filters:
- name: replace
args: ["K", "000"]
leechers:
selector: td:nth-child(6)
filters:
- name: replace
args: ["K", "000"]
grabs:
selector: td:nth-child(7)
filters:
- name: replace
args: ["K", "000"]
downloadvolumefactor:
text: 0
uploadvolumefactor:
text: 1
# engine n/a