Jackett/src/Jackett.Common/Definitions/magico.yml

243 lines
8.5 KiB
YAML
Raw Normal View History

---
2017-01-18 20:43:22 +00:00
site: magico
name: Magico
description: "Magico (Trellas) is a GREEK Private Torrent Tracker for MOVIES / TV / GENERAL"
2017-01-18 20:43:22 +00:00
language: el-gr
type: private
2017-01-18 20:43:22 +00:00
encoding: UTF-8
links:
2018-12-28 10:08:57 +00:00
- https://magico.one/
legacylinks:
- https://magico.info/
2017-01-18 20:43:22 +00:00
caps:
2017-03-07 12:46:22 +00:00
categorymappings:
- {id: 1, cat: Movies, desc: "Movies"}
2018-09-25 06:27:13 +00:00
- {id: 84, cat: Movies, desc: "Movies New (2017, 2018)"}
- {id: 14, cat: Movies/SD, desc: "Movies DVDRip-BDRip-BRRip (up to 2016) FREE"}
- {id: 16, cat: Movies/SD, desc: "Movies (CAM) FREE"}
- {id: 17, cat: Movies/BluRay, desc: "Movies BLU-RAY"}
- {id: 44, cat: Movies, desc: "Movies Greek"}
- {id: 76, cat: Movies, desc: "Movies Documentaries"}
- {id: 82, cat: Movies, desc: "Movies Theater"}
2017-01-18 20:43:22 +00:00
2018-09-25 06:27:13 +00:00
- {id: 52, cat: TV, desc: "TV Series"}
- {id: 53, cat: TV/SD, desc: "TV Series Foreign"}
- {id: 70, cat: TV/HD, desc: "TV Series Foreign (720p)"}
- {id: 54, cat: TV, desc: "TV Series Greek"}
- {id: 86, cat: TV, desc: "TV Series Foreign Complete Seasons"}
- {id: 92, cat: TV, desc: "TV Series Foreign Complete Seasons (720p)"}
- {id: 87, cat: TV, desc: "TV Series Greek Complete Seasons"}
- {id: 63, cat: TV, desc: "TV Series Recreational"}
2017-03-07 12:46:22 +00:00
- {id: 83, cat: TV/Sport, desc: "TV Sports"}
2017-01-18 20:43:22 +00:00
2017-03-07 12:46:22 +00:00
- {id: 55, cat: Movies, desc: "Children"}
2018-09-25 06:27:13 +00:00
- {id: 38, cat: Movies, desc: "Children (Movies)"}
- {id: 39, cat: Movies, desc: "Children Subtitled (Movies)"}
- {id: 93, cat: Movies, desc: "Children (TV Series)"}
- {id: 94, cat: Movies, desc: "Children Subtitled (TV Series)"}
- {id: 45, cat: Movies, desc: "Children Anime"}
- {id: 98, cat: Movies, desc: "Children 3D"}
- {id: 64, cat: Movies, desc: "Children Music"}
2017-01-18 20:43:22 +00:00
2018-09-25 06:27:13 +00:00
- {id: 7, cat: Audio, desc: "Music Foreign"}
- {id: 21, cat: Audio, desc: "Music Foreign New Releases"}
- {id: 46, cat: Audio, desc: "Music Foreign Old Releases"}
- {id: 32, cat: Audio, desc: "Music Foreign Discographies"}
- {id: 20, cat: Audio, desc: "Music Foreign Collections"}
- {id: 102, cat: Audio, desc: "Music Foreign MAGICO Radio"}
- {id: 81, cat: Audio, desc: "Music Foreign Karaoke"}
- {id: 95, cat: Audio, desc: "Music Foreign Soundtrack"}
2017-01-18 20:43:22 +00:00
2018-09-25 06:27:13 +00:00
- {id: 47, cat: Audio, desc: "Music Greek"}
- {id: 48, cat: Audio, desc: "Music Greek New Releases"}
- {id: 49, cat: Audio, desc: "Music Greek Old Releases"}
- {id: 51, cat: Audio, desc: "Music Greek Discographies"}
- {id: 50, cat: Audio, desc: "Music Greek Collections"}
- {id: 101, cat: Audio, desc: "Music Greek MAGICO Radio"}
- {id: 97, cat: Audio, desc: "Music Greek Live Cd's"}
- {id: 57, cat: Audio, desc: "Music Greek Rebetika"}
- {id: 58, cat: Audio, desc: "Music Greek Primary"}
- {id: 59, cat: Audio, desc: "Music Greek Cretan"}
- {id: 60, cat: Audio, desc: "Music Greek Island"}
- {id: 62, cat: Audio, desc: "Music Greek Pontian"}
- {id: 80, cat: Audio, desc: "Music Greek Karaoke"}
- {id: 96, cat: Audio, desc: "Music Greek Soundtracks"}
2017-01-18 20:43:22 +00:00
2018-09-25 06:27:13 +00:00
- {id: 73, cat: Audio, desc: "Music Seasonal"}
- {id: 74, cat: Audio, desc: "Music Seasonal Xmas"}
- {id: 79, cat: Audio, desc: "Music Seasonal Easter"}
- {id: 75, cat: Audio, desc: "Music Seasonal Halloween"}
- {id: 78, cat: Audio, desc: "Music Seasonal Valentines"}
2017-01-18 20:43:22 +00:00
2017-03-07 12:46:22 +00:00
- {id: 33, cat: Books, desc: "Books"}
2018-09-25 06:27:13 +00:00
- {id: 41, cat: Books, desc: "Books Greek"}
- {id: 65, cat: Books, desc: "Books Comics"}
- {id: 43, cat: Books, desc: "Books Periodicals"}
- {id: 105, cat: Books, desc: "Books Audio"}
- {id: 72, cat: Books, desc: "Books Children"}
- {id: 66, cat: Books, desc: "Books Educational"}
- {id: 42, cat: Books, desc: "Books Foreign"}
- {id: 67, cat: Books, desc: "Books Photos"}
2017-01-18 20:43:22 +00:00
2018-09-25 06:27:13 +00:00
- {id: 6, cat: PC, desc: "Programs"}
- {id: 18, cat: PC/0day, desc: "Programs PC"}
- {id: 40, cat: PC/Phone-Android, desc: "Programs Android"}
- {id: 19, cat: PC/Mac, desc: "Programs Mac"}
2017-01-18 20:43:22 +00:00
2017-03-07 12:46:22 +00:00
- {id: 2, cat: PC/Games, desc: "Games"}
2018-09-25 06:27:13 +00:00
- {id: 27, cat: PC/Games, desc: "Games PC"}
- {id: 68, cat: PC/Phone-Android, desc: "Games Android"}
2017-01-18 20:43:22 +00:00
2018-09-25 06:27:13 +00:00
- {id: 88, cat: Other, desc: "Tutorials / Design / Accessories"}
- {id: 89, cat: Other, desc: "Tutorials Photoshop"}
- {id: 91, cat: Other, desc: "Tutorials Illustrator"}
- {id: 90, cat: Other, desc: "Tutorials After Effects"}
2017-01-18 20:43:22 +00:00
modes:
search: [q]
tv-search: [q, season, ep]
2018-09-25 06:27:13 +00:00
movie-search: [q]
2017-01-18 20:43:22 +00:00
login:
path: ?p=home&pid=1
2017-01-18 20:43:22 +00:00
method: form
form: form#loginbox_form
submitpath: /ajax/login.php
inputs:
2020-01-09 06:16:03 +00:00
action: login
2017-01-18 20:43:22 +00:00
loginbox_membername: "{{ .Config.username }}"
loginbox_password: "{{ .Config.password }}"
2019-11-11 06:12:00 +00:00
loginbox_remember: 1
2017-01-18 20:43:22 +00:00
selectorinputs:
securitytoken:
selector: "script:contains(\"stKey: \")"
filters:
- name: regexp
args: "stKey: \"(.+?)\","
error:
- selector: ":contains(\"-ERROR-\")"
test:
path: ?p=torrents&pid=32
2017-01-18 20:43:22 +00:00
selector: a#logout
search:
paths:
- path: /
2017-01-31 10:34:43 +00:00
keywordsfilters:
- name: replace # use this as a workaround till #893 is implemented
args: ["Greys Anatomy", "Grey's Anatomy"]
2017-01-31 10:32:08 +00:00
- name: re_replace
args: ["[^\\w\\d]+", "%25"]
2017-01-18 20:43:22 +00:00
inputs:
2020-01-09 06:16:03 +00:00
p: torrents
pid: 32
$raw: "{{ range .Categories }}cid[]={{.}}&{{end}}"
2017-01-31 10:32:08 +00:00
keywords: "{{ .Keywords }}"
2020-01-09 06:16:03 +00:00
search_type: name
searchin: title
error:
- selector: div#show_error font
2020-01-09 06:16:03 +00:00
2017-01-18 20:43:22 +00:00
rows:
2018-10-15 15:00:35 +00:00
selector: div#content > div.torrent-box[id^="torrent_"], tr:has(a[href*="?p=torrents"][href*="&action=details"])
2017-01-18 20:43:22 +00:00
filters:
- name: andmatch
2020-01-09 06:16:03 +00:00
2017-01-18 20:43:22 +00:00
fields:
title:
2018-10-15 15:00:35 +00:00
selector: a[href*="?p=torrents"][href*="&action=details"]
2017-01-31 10:34:43 +00:00
filters:
- name: replace
args: ["Grey's Anatomy", "Greys Anatomy"]
2017-01-18 20:43:22 +00:00
category:
2018-10-15 15:00:35 +00:00
selector: a[href*="?p=torrents"][href*="&cid="]
2017-01-18 20:43:22 +00:00
attribute: href
filters:
- name: querystring
args: cid
details:
2018-10-15 15:00:35 +00:00
selector: a[href*="?p=torrents"][href*="&action=details"]
2017-01-18 20:43:22 +00:00
attribute: href
download:
2018-10-15 15:00:35 +00:00
selector: a[href*="?p=torrents"][href*="&action=download"]
2017-01-18 20:43:22 +00:00
attribute: href
imdb:
2018-09-25 06:27:13 +00:00
optional: true
selector: a[href*="www.imdb.com/title/tt"]
2017-01-18 20:43:22 +00:00
attribute: href
size:
selector: a[rel="torrent_size"]
seeders:
selector: a[rel="torrent_seeders"]
leechers:
selector: a[rel="torrent_leechers"]
grabs:
selector: a[rel="times_completed"]
banner:
optional: true
2017-01-18 20:43:22 +00:00
selector: a[rel="fancybox"]
attribute: href
description:
2018-09-25 06:27:13 +00:00
optional: true
2017-01-18 20:43:22 +00:00
selector: div.torrentDetails > div:has(span.floatright)
downloadvolumefactor:
case:
2020-01-09 06:16:03 +00:00
"img[title=\"No Record!\"]": 0
"*": 1
2017-01-18 20:43:22 +00:00
uploadvolumefactor:
case:
2020-01-09 06:16:03 +00:00
"*": 1
date:
optional: true
2017-01-18 20:43:22 +00:00
selector: div.torrentOwner > abbr.timeago
attribute: data-time
date:
optional: true
2017-01-18 20:43:22 +00:00
selector: div.torrentOwner:not(:has(abbr.timeago))
remove: span
filters:
- name: replace
args: ["Ανέβηκε ", ""] # Uploaded
- name: replace
args: [" από", ""] # by
- name: replace
args: [" τον/την", ""] # him/her
- name: replace
args: ["στις ", ""] # at
- name: replace
args: ["σήμερα", "Today"]
- name: replace
args: ["εχθές", "Yesterday"]
- name: replace
args: ["Δευτέρα", "Monday"]
- name: replace
args: ["Τρίτη", "Tuesday"]
- name: replace
args: ["Τετάρτη", "Wednesday"]
- name: replace
args: ["Πέμπτη", "Thursday"]
- name: replace
args: ["Παρασκευή", "Friday"]
- name: replace
args: ["Σάββατο", "Saturday"]
- name: replace
args: ["Κυριακή", "Sunday"]
- name: dateparse
args: "02-01-2006 15:04"
2018-09-25 06:27:13 +00:00
date:
# <br /> Uploaded Saturday at 21:09 by
optional: true
selector: td.torrent_name
remove: div, a, span
filters:
- name: replace
args: ["Uploaded ", ""]
- name: replace
args: [" by", ""]
- name: replace
args: ["at ", ""]
- name: dateparse
args: "02-01-2006 15:04"
2020-01-09 06:16:03 +00:00
# TSUE 2.2