mirror of
https://github.com/Jackett/Jackett
synced 2025-01-02 21:26:08 +00:00
Secret Cinama: Fix search (#1979)
* Fix Secret Cinama searching * Update secretcinema.yml
This commit is contained in:
parent
7230507f5a
commit
0a4e003bde
1 changed files with 22 additions and 36 deletions
|
@ -10,32 +10,17 @@
|
|||
|
||||
caps:
|
||||
categorymappings:
|
||||
# - {id: 1, cat: TV/Anime, desc: "Animation"}
|
||||
# - {id: 2, cat: Movies, desc: "Arthouse"}
|
||||
# - {id: 3, cat: Movies, desc: "Asian"}
|
||||
# - {id: 19, cat: Audio/Audiobook, desc: "Audiobooks"}
|
||||
# - {id: 29, cat: Movies, desc: "Badfilm"}
|
||||
# - {id: 18, cat: Books, desc: "Books"}
|
||||
# - {id: 4, cat: Movies, desc: "Classics"}
|
||||
# - {id: 5, cat: Movies, desc: "Comedy"}
|
||||
# - {id: 20, cat: Books/Comics, desc: "Comix"}
|
||||
# - {id: 6, cat: Movies, desc: "Cult"}
|
||||
# - {id: 7, cat: TV/Documentary, desc: "Documentary"}
|
||||
# - {id: 8, cat: Movies, desc: "Fantasy & SF"}
|
||||
# - {id: 9, cat: Movies, desc: "Horror"}
|
||||
# - {id: 22, cat: Movies, desc: "Noir"}
|
||||
# - {id: 17, cat: Audio, desc: "OST"}
|
||||
# - {id: 10, cat: Other, desc: "Other"}
|
||||
# - {id: 15, cat: TV, desc: "Other TV"}
|
||||
# - {id: 16, cat: Audio, desc: "Radio"}
|
||||
# - {id: 11, cat: Movies, desc: "Silent"}
|
||||
# - {id: 12, cat: TV, desc: "Talent Show!"}
|
||||
# - {id: 14, cat: Movies, desc: "TV Movies"}
|
||||
# - {id: 13, cat: TV, desc: "TV Series"}
|
||||
- { id: 1, cat: Movies, desc: "Movies" }
|
||||
- { id: "1]=1&nzbcat[2030", cat: Movies/SD, desc: "Movies/SD" }
|
||||
- { id: "1]=1&nzbcat[2040", cat: Movies/HD, desc: "Movies/HD" }
|
||||
- { id: "1]=1&nzbcat[2060", cat: Movies/BluRay, desc: "Movies/BluRay" }
|
||||
- { id: "1]=1&nzbcat[2070", cat: Movies/DVD, desc: "Movies/DVD" }
|
||||
- { id: 2, cat: Audio/MP3, desc: "Music" }
|
||||
- { id: 3, cat: Books/Ebook, desc: "E-Books" }
|
||||
|
||||
modes:
|
||||
search: [q]
|
||||
tv-search: [q, season, ep]
|
||||
search: [q, imdbid]
|
||||
movie-search: [q, imdbid]
|
||||
|
||||
login:
|
||||
path: login.php
|
||||
|
@ -57,7 +42,8 @@
|
|||
path: torrents.php
|
||||
inputs:
|
||||
$raw: "{{range .Categories}}filter_cat[{{.}}]=1&{{end}}"
|
||||
searchstr: "{{ .Query.Keywords }}"
|
||||
searchstr: "{{if .Query.IMDBID}}{{else}}{{ .Keywords }}{{end}}"
|
||||
cataloguenumber: "{{ .Query.IMDBID }}"
|
||||
searchsubmit: 1
|
||||
rows:
|
||||
selector: table#torrent_table > tbody > tr.torrent
|
||||
|
@ -71,16 +57,16 @@
|
|||
title:
|
||||
selector: div.group_info > a.tooltip
|
||||
remove: span, div.tags, div.torrent_info
|
||||
# category:
|
||||
# selector: td.cats_col
|
||||
# case:
|
||||
# div.cats_music: 1
|
||||
# div.cats_applications: 2
|
||||
# div.cats_ebooks: 3
|
||||
# div.cats_audiobooks: 4
|
||||
# div.cats_elearningvideos: 5
|
||||
# div.cats_comedy: 6
|
||||
# div.cats_comics: 7
|
||||
category:
|
||||
selector: tr.torrent
|
||||
case:
|
||||
div.torrent_info:contains('720'), div.torrent_info:contains('1080p'), div.torrent_info:contains('4k'): "1]=1&nzbcat[2040"
|
||||
div.torrent_info:contains('SD'): "1]=1&nzbcat[2030"
|
||||
div.torrent_info:contains('BDMV'): "1]=1&nzbcat[2060"
|
||||
div.torrent_info:contains('DVD-R'): "1]=1&nzbcat[2070"
|
||||
div.cats_movies: 1
|
||||
div.cats_music: 2
|
||||
div.cats_ebooks: 3
|
||||
comments:
|
||||
selector: a[href^="torrents.php?id="]
|
||||
attribute: href
|
||||
|
@ -102,4 +88,4 @@
|
|||
"*": "1"
|
||||
uploadvolumefactor:
|
||||
case:
|
||||
"*": "1"
|
||||
"*": "1"
|
||||
|
|
Loading…
Reference in a new issue