magico: possible solve for #3846

This commit is contained in:
Garfield69 2018-09-25 18:27:13 +12:00
parent 3978ba6c04
commit 838ad77d7f
1 changed files with 85 additions and 69 deletions

View File

@ -11,89 +11,91 @@
caps: caps:
categorymappings: categorymappings:
- {id: 1, cat: Movies, desc: "Movies"} - {id: 1, cat: Movies, desc: "Movies"}
- {id: 84, cat: Movies, desc: "N ees (2016, 2017)"} - {id: 84, cat: Movies, desc: "Movies New (2017, 2018)"}
- {id: 14, cat: Movies/SD, desc: "DVDRip-BDRip-BRRip (e?? 2015) FREE"} - {id: 14, cat: Movies/SD, desc: "Movies DVDRip-BDRip-BRRip (up to 2016) FREE"}
- {id: 16, cat: Movies/SD, desc: "In Avouri (CAM) FREE"} - {id: 16, cat: Movies/SD, desc: "Movies (CAM) FREE"}
- {id: 17, cat: Movies/BluRay, desc: "B LU-RAY"} - {id: 17, cat: Movies/BluRay, desc: "Movies BLU-RAY"}
- {id: 44, cat: Movies, desc: "E English Movies"} - {id: 44, cat: Movies, desc: "Movies Greek"}
- {id: 76, cat: Movies, desc: "N tokimanter"} - {id: 76, cat: Movies, desc: "Movies Documentaries"}
- {id: 82, cat: Movies, desc: "I EATP"} - {id: 82, cat: Movies, desc: "Movies Theater"}
- {id: 52, cat: TV, desc: "series"} - {id: 52, cat: TV, desc: "TV Series"}
- {id: 53, cat: TV/SD, desc: ", O Enes"} - {id: 53, cat: TV/SD, desc: "TV Series Foreign"}
- {id: 70, cat: TV/HD, desc: "O Enes (720p)"} - {id: 70, cat: TV/HD, desc: "TV Series Foreign (720p)"}
- {id: 54, cat: TV, desc: "E English"} - {id: 54, cat: TV, desc: "TV Series Greek"}
- {id: 86, cat: TV, desc: "O Enes Complete Seasons"} - {id: 86, cat: TV, desc: "TV Series Foreign Complete Seasons"}
- {id: 92, cat: TV, desc: "O Enes Complete Seasons (720p)"} - {id: 92, cat: TV, desc: "TV Series Foreign Complete Seasons (720p)"}
- {id: 87, cat: TV, desc: "E English Complete Seasons"} - {id: 87, cat: TV, desc: "TV Series Greek Complete Seasons"}
- {id: 63, cat: TV, desc: "Y ychagogikes Emissions"} - {id: 63, cat: TV, desc: "TV Series Recreational"}
- {id: 83, cat: TV/Sport, desc: "TV Sports"} - {id: 83, cat: TV/Sport, desc: "TV Sports"}
- {id: 55, cat: Movies, desc: "Children"} - {id: 55, cat: Movies, desc: "Children"}
- {id: 38, cat: Movies, desc: "M etaglotismena (Movies)"} - {id: 38, cat: Movies, desc: "Children (Movies)"}
- {id: 39, cat: Movies, desc: "M e Subtitled (Movies)"} - {id: 39, cat: Movies, desc: "Children Subtitled (Movies)"}
- {id: 93, cat: Movies, desc: "M etaglotismena (Series)"} - {id: 93, cat: Movies, desc: "Children (TV Series)"}
- {id: 94, cat: Movies, desc: "M e Subtitled (Series)"} - {id: 94, cat: Movies, desc: "Children Subtitled (TV Series)"}
- {id: 45, cat: Movies, desc: "I absent Anime"} - {id: 45, cat: Movies, desc: "Children Anime"}
- {id: 98, cat: Movies, desc: "M etaglotismena 3D"} - {id: 98, cat: Movies, desc: "Children 3D"}
- {id: 64, cat: Movies, desc: "M music for Children"} - {id: 64, cat: Movies, desc: "Children Music"}
- {id: 7, cat: Audio, desc: "Foreign music"} - {id: 7, cat: Audio, desc: "Music Foreign"}
- {id: 21, cat: Audio, desc: "N ees Releases"} - {id: 21, cat: Audio, desc: "Music Foreign New Releases"}
- {id: 46, cat: Audio, desc: "P. Alai Releases"} - {id: 46, cat: Audio, desc: "Music Foreign Old Releases"}
- {id: 32, cat: Audio, desc: "D. iskografies"} - {id: 32, cat: Audio, desc: "Music Foreign Discographies"}
- {id: 20, cat: Audio, desc: "In ylloges"} - {id: 20, cat: Audio, desc: "Music Foreign Collections"}
- {id: 102, cat: Audio, desc: "M AGICO Radio"} - {id: 102, cat: Audio, desc: "Music Foreign MAGICO Radio"}
- {id: 81, cat: Audio, desc: "K araoke"} - {id: 81, cat: Audio, desc: "Music Foreign Karaoke"}
- {id: 95, cat: Audio, desc: "Soundtrack"} - {id: 95, cat: Audio, desc: "Music Foreign Soundtrack"}
- {id: 47, cat: Audio, desc: "Greek music"} - {id: 47, cat: Audio, desc: "Music Greek"}
- {id: 48, cat: Audio, desc: "N ees Releases"} - {id: 48, cat: Audio, desc: "Music Greek New Releases"}
- {id: 49, cat: Audio, desc: "P. Alai Releases"} - {id: 49, cat: Audio, desc: "Music Greek Old Releases"}
- {id: 51, cat: Audio, desc: "D. iskografies"} - {id: 51, cat: Audio, desc: "Music Greek Discographies"}
- {id: 50, cat: Audio, desc: "In ylloges"} - {id: 50, cat: Audio, desc: "Music Greek Collections"}
- {id: 101, cat: Audio, desc: "M AGICO Radio"} - {id: 101, cat: Audio, desc: "Music Greek MAGICO Radio"}
- {id: 97, cat: Audio, desc: "Live Cd 's"} - {id: 97, cat: Audio, desc: "Music Greek Live Cd's"}
- {id: 57, cat: Audio, desc: "P empetika"} - {id: 57, cat: Audio, desc: "Music Greek Rebetika"}
- {id: 58, cat: Audio, desc: "D. imotika"} - {id: 58, cat: Audio, desc: "Music Greek Primary"}
- {id: 59, cat: Audio, desc: "K exception of preservatives"} - {id: 59, cat: Audio, desc: "Music Greek Cretan"}
- {id: 60, cat: Audio, desc: "N isiotika"} - {id: 60, cat: Audio, desc: "Music Greek Island"}
- {id: 62, cat: Audio, desc: "P. ontiaka"} - {id: 62, cat: Audio, desc: "Music Greek Pontian"}
- {id: 80, cat: Audio, desc: "K araoke"} - {id: 80, cat: Audio, desc: "Music Greek Karaoke"}
- {id: 96, cat: Audio, desc: "Soundtracks"} - {id: 96, cat: Audio, desc: "Music Greek Soundtracks"}
- {id: 73, cat: Audio, desc: "seasonal Music"} - {id: 73, cat: Audio, desc: "Music Seasonal"}
- {id: 74, cat: Audio, desc: "X ristougenna"} - {id: 74, cat: Audio, desc: "Music Seasonal Xmas"}
- {id: 79, cat: Audio, desc: "P. ascha"} - {id: 79, cat: Audio, desc: "Music Seasonal Easter"}
- {id: 75, cat: Audio, desc: "A pokriatika"} - {id: 75, cat: Audio, desc: "Music Seasonal Halloween"}
- {id: 78, cat: Audio, desc: "A Tariff Valentine"} - {id: 78, cat: Audio, desc: "Music Seasonal Valentines"}
- {id: 33, cat: Books, desc: "Books"} - {id: 33, cat: Books, desc: "Books"}
- {id: 41, cat: Books, desc: "E nglis"} - {id: 41, cat: Books, desc: "Books Greek"}
- {id: 65, cat: Books, desc: "K omix"} - {id: 65, cat: Books, desc: "Books Comics"}
- {id: 43, cat: Books, desc: "P. periods"} - {id: 43, cat: Books, desc: "Books Periodicals"}
- {id: 72, cat: Books, desc: "P. aidika"} - {id: 105, cat: Books, desc: "Books Audio"}
- {id: 66, cat: Books, desc: "L. exika - Educational"} - {id: 72, cat: Books, desc: "Books Children"}
- {id: 42, cat: Books, desc: "O enoglossa"} - {id: 66, cat: Books, desc: "Books Educational"}
- {id: 67, cat: Books, desc: "E. Konya-Photos"} - {id: 42, cat: Books, desc: "Books Foreign"}
- {id: 67, cat: Books, desc: "Books Photos"}
- {id: 6, cat: PC, desc: "programs"} - {id: 6, cat: PC, desc: "Programs"}
- {id: 18, cat: PC/0day, desc: "PC"} - {id: 18, cat: PC/0day, desc: "Programs PC"}
- {id: 40, cat: PC/Phone-Android, desc: "Android"} - {id: 40, cat: PC/Phone-Android, desc: "Programs Android"}
- {id: 19, cat: PC/Mac, desc: "Mac"} - {id: 19, cat: PC/Mac, desc: "Programs Mac"}
- {id: 2, cat: PC/Games, desc: "Games"} - {id: 2, cat: PC/Games, desc: "Games"}
- {id: 27, cat: PC/Games, desc: "PC"} - {id: 27, cat: PC/Games, desc: "Games PC"}
- {id: 68, cat: PC/Phone-Android, desc: "Android"} - {id: 68, cat: PC/Phone-Android, desc: "Games Android"}
- {id: 88, cat: Other, desc: "Design / Tutorials / Accessories"} - {id: 88, cat: Other, desc: "Tutorials / Design / Accessories"}
- {id: 89, cat: Other, desc: "Photoshop Tutorials"} - {id: 89, cat: Other, desc: "Tutorials Photoshop"}
- {id: 91, cat: Other, desc: "Illustrator Tutorials"} - {id: 91, cat: Other, desc: "Tutorials Illustrator"}
- {id: 90, cat: Other, desc: "After Effects Tutorials"} - {id: 90, cat: Other, desc: "Tutorials After Effects"}
modes: modes:
search: [q] search: [q]
tv-search: [q, season, ep] tv-search: [q, season, ep]
movie-search: [q]
login: login:
path: /?p=home&pid=1 path: /?p=home&pid=1
@ -135,7 +137,7 @@
error: error:
- selector: div#show_error font - selector: div#show_error font
rows: rows:
selector: div#content > div.torrent-box[id^="torrent_"] selector: div#content > div.torrent-box[id^="torrent_"], tr:has(a[href*="?p=torrents&pid=10&action=details"])
filters: filters:
- name: andmatch - name: andmatch
fields: fields:
@ -157,6 +159,7 @@
selector: a[href*="?p=torrents&pid=10&action=download"] selector: a[href*="?p=torrents&pid=10&action=download"]
attribute: href attribute: href
imdb: imdb:
optional: true
selector: a[href^="http://www.imdb.com/title/tt"] selector: a[href^="http://www.imdb.com/title/tt"]
attribute: href attribute: href
size: size:
@ -172,6 +175,7 @@
selector: a[rel="fancybox"] selector: a[rel="fancybox"]
attribute: href attribute: href
description: description:
optional: true
selector: div.torrentDetails > div:has(span.floatright) selector: div.torrentDetails > div:has(span.floatright)
downloadvolumefactor: downloadvolumefactor:
case: case:
@ -217,5 +221,17 @@
args: ["Κυριακή", "Sunday"] args: ["Κυριακή", "Sunday"]
- name: dateparse - name: dateparse
args: "02-01-2006 15:04" args: "02-01-2006 15:04"
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"