Jackett/src/Jackett.Common/Definitions/monova.yml

126 lines
3.3 KiB
YAML

---
id: monova
name: Monova
description: "Monova is a Public torrent index."
language: en-us
type: public
encoding: UTF-8
followredirect: true
links:
- https://monova.org/
- https://monova.to/
- https://monova.unblockit.lat/
- https://monova.unblocked.rest/
legacylinks:
- https://monova.unblockninja.com/ # currently redirects to https://monova.org/
- https://monova.unblockit.pro/
- https://monova.unblockit.one/
- https://monova.black-mirror.xyz/
- https://monova.unblocked.casa/
- https://monova.proxyportal.fun/
- https://monova.uk-unblock.xyz/
- https://monova.ind-unblock.xyz/
- https://monova.unblockit.me/
- https://monova.unblockit.pw/
- https://monova.unblocked.bar/
- https://monova.proxyportal.pw/
- https://monova.uk-unblock.pro/
- https://monova.unblockit.id/
caps:
categories:
"venus-mars": XXX
"video-camera": Movies
"music": Audio
"book": Books
"gamepad": PC/Games
"cog": PC/0day
"venus-mars": XXX
"list": Other
"picture-o": Other/Misc
modes:
search: [q]
tv-search: [q, season, ep]
movie-search: [q]
music-search: [q]
book-search: [q]
settings: []
search:
paths:
# https://monova.to/search?term=vikings+s05e05
# https://monova.to/video
- path: "{{if .Keywords}}search?term={{.Keywords}}{{else}}video{{end}}"
- path: "{{ if .Keywords }}search?term={{ .Keywords }}&{{ else }}video?{{end}}page=2"
- path: "{{ if .Keywords }}search?term={{ .Keywords }}&{{ else }}video?{{end}}page=3"
- path: "{{ if .Keywords }}search?term={{ .Keywords }}&{{ else }}video?{{end}}page=4"
keywordsfilters:
- name: re_replace
args: ["(?:^|\\s)[_\\+\\/\\.\\-\\(\\)]*[\\S]{0,3}[_\\+\\/\\.\\-\\(\\)]*(?:\\s|$)", " "]
rows:
selector: tr.desktop:not(tr[class="desktop success"])
filters:
- name: andmatch
fields:
title:
selector: td.torrent_name a
category:
selector: td.torrent_name i
attribute: class
filters:
# remove fa fa- prefix
- name: replace
args: ["fa fa-", ""]
details:
selector: td.torrent_name a
attribute: href
_magnetfilename: # convert title to valid magnet filename
text: "{{ .Result.title }}"
filters:
- name: validfilename
- name: urlencode
magnet: # generate magnet link from details link
selector: td.torrent_name a
attribute: href
filters:
- name: regexp
args: ([0-9A-Fa-f]{40})
- name: prepend
args: "magnet:?xt=urn:btih:"
- name: append
args: "&dn={{ .Result._magnetfilename }}.torrent"
- name: append
args: "&tr=udp://tracker.opentrackr.org:1337&tr=udp://tracker.coppersurfer.tk:6969&tr=udp://tracker.internetwarriors.net:1337&tr=udp://tracker.leechers-paradise.org:6969"
size:
optional: true
selector: td.center-align
filters:
- name: replace
args: ["N/A", "500 MB"]
seeders:
text: 1
leechers:
text: 1
downloadvolumefactor:
text: 0
uploadvolumefactor:
text: 1
date:
optional: true
selector: td.torrent_name
remove: a
filters:
- name: replace
args: ["added ", ""]
- name: replace
args: [" ago.*$", ""]
- name: replace
args: ["min.", "minutes"]
- name: timeago
# engine n/a