Jackett/src/Jackett.Common/Definitions/skytorrentsclone.yml

90 lines
2.3 KiB
YAML

---
site: skytorrentsclone
name: SkyTorrentsClone
description: "SkyTorrents.lol is a Public SkyTorrents clone for TV / MOVIES / GENERAL"
language: en-us
type: public
encoding: UTF-8
links:
- https://www.skytorrents.lol/
legacylinks:
- https://www.skytorrents.to/
caps:
categories:
# category=
"album": Audio
"ebook": Books
"movie": Movies
"show": TV
# type=
"audio": Audio
"doc": Books
"games": PC/Games
"software": PC
modes:
search: [q]
tv-search: [q, season, ep]
movie-search: [q]
settings:
- name: itorrents-links
type: checkbox
label: Add download links via itorrents.org
default: true
- name: info
type: info
label: ITorrents Note
default: Without the itorrents option only magnet links will be provided.
search:
# https://www.skytorrents.lol/?query=mr+mercedes+s02e05&sort=created
# https://www.skytorrents.lol/top100
paths:
- path: "{{ if .Keywords }}?query={{ .Keywords }}&sort=created{{else}}top100{{end}}"
- path: "{{ if .Keywords }}?query={{ .Keywords }}&sort=created&page=2{{else}}{{end}}"
- path: "{{ if .Keywords }}?query={{ .Keywords }}&sort=created&page=3{{else}}{{end}}"
- path: "{{ if .Keywords }}?query={{ .Keywords }}&sort=created&page=4{{else}}{{end}}"
rows:
selector: tr.result
fields:
title:
selector: td a
category:
# try category=
optional: true
selector: a.label[href*="category="]
category:
# try type=
optional: true
selector: a.label[href*="type="]
details:
selector: td a
attribute: href
download-itorrents:
selector: a[href^="//itorrents"]
attribute: href
download:
text: "{{if .Config.itorrents-links}}{{ .Result.download-itorrents }}{{else}}{{end}}"
magnet:
selector: a[href^="magnet:?"]
attribute: href
size:
selector: td:nth-child(2)
files:
selector: td:nth-child(3)
date:
# 20 Minutes ago
selector: td:nth-child(4)
filters:
- name: timeago
seeders:
selector: td:nth-child(5)
leechers:
selector: td:nth-child(6)
downloadvolumefactor:
text: "0"
uploadvolumefactor:
text: "1"