mirror of https://github.com/Jackett/Jackett
Secret Cinema: change definition to match new site (#1803)
This commit is contained in:
parent
b2b576a72d
commit
11406697be
|
@ -10,120 +10,95 @@
|
|||
|
||||
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: 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"}
|
||||
|
||||
modes:
|
||||
search: [q]
|
||||
tv-search: [q, season, ep]
|
||||
|
||||
login:
|
||||
path: /takelogin.php
|
||||
method: post
|
||||
path: login.php
|
||||
method: form
|
||||
form: form
|
||||
inputs:
|
||||
username: "{{ .Config.username }}"
|
||||
password: "{{ .Config.password }}"
|
||||
returnto: "index.php"
|
||||
error:
|
||||
- selector: table:contains("Login failed!")
|
||||
test:
|
||||
path: /browse.php
|
||||
selector: div.Userstats
|
||||
path: index.php
|
||||
|
||||
ratio:
|
||||
path: /browse.php
|
||||
selector: div.Userstats
|
||||
filters:
|
||||
- name: regexp
|
||||
args: "\n\u00a0(.*) \u00a0"
|
||||
path: torrents.php
|
||||
selector: li#stats_ratio > span
|
||||
|
||||
search:
|
||||
path: /browse.php
|
||||
path: torrents.php
|
||||
inputs:
|
||||
$raw: "{{range .Categories}}cat{{.}}=on&{{end}}"
|
||||
search: "{{ .Query.Keywords }}"
|
||||
incldead: "1"
|
||||
tpp: "100"
|
||||
dirty: "1"
|
||||
$raw: "{{range .Categories}}filter_cat[{{.}}]=1&{{end}}"
|
||||
searchstr: "{{ .Query.Keywords }}"
|
||||
searchsubmit: 1
|
||||
rows:
|
||||
selector: td > table[id="large"] > tbody > tr:has(div.browsing)
|
||||
filters:
|
||||
- name: andmatch
|
||||
dateheaders:
|
||||
selector: ":has(td.colhead[title] > b)"
|
||||
filters:
|
||||
- name: dateparse
|
||||
args: "Mon 02 Jan"
|
||||
selector: table#torrent_table > tbody > tr.torrent
|
||||
fields:
|
||||
title:
|
||||
selector: a[href^="viewtopic.php?id="]
|
||||
description:
|
||||
selector: table > tbody > tr:nth-child(2) > td:nth-child(2)
|
||||
category:
|
||||
selector: a[href^="browse.php?cat"]
|
||||
attribute: href
|
||||
filters:
|
||||
- name: replace
|
||||
args: ["browse.php?cat", ""]
|
||||
- name: replace
|
||||
args: ["=on", ""]
|
||||
details:
|
||||
selector: a[href^="viewtopic.php?id="]
|
||||
attribute: href
|
||||
download:
|
||||
selector: a[href^="download.php/"]
|
||||
selector: a[href^="torrents.php?action=download&id="]
|
||||
attribute: href
|
||||
description:
|
||||
selector: div.group_info > a.tooltip
|
||||
remove: span, div.tags, div.torrent_info
|
||||
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
|
||||
comments:
|
||||
selector: a[href^="torrents.php?id="]
|
||||
attribute: href
|
||||
size:
|
||||
selector: table > tbody > tr:nth-child(2) > td:nth-child(4)
|
||||
files:
|
||||
selector: table > tbody > tr:nth-child(2) > td:nth-child(3)
|
||||
filters:
|
||||
- name: regexp
|
||||
args: "(\\d+)"
|
||||
grabs:
|
||||
selector: table > tbody > tr:nth-child(2) > td:nth-child(5)
|
||||
filters:
|
||||
- name: regexp
|
||||
args: "(\\d+)"
|
||||
seeders:
|
||||
selector: table > tbody > tr:nth-child(2) > td:nth-child(6)
|
||||
filters:
|
||||
- name: regexp
|
||||
args: "(\\d+)"
|
||||
leechers:
|
||||
selector: table > tbody > tr:nth-child(2) > td:nth-child(7)
|
||||
filters:
|
||||
- name: regexp
|
||||
args: "(\\d+)"
|
||||
selector: td:nth-child(4)
|
||||
date:
|
||||
selector: td:nth-child(1) > div > table > tbody > tr:nth-child(2) > td:nth-child(1)
|
||||
filters:
|
||||
- name: replace
|
||||
args: ["'", ""]
|
||||
- name: replace
|
||||
args: ["\xA0", ""]
|
||||
- name: dateparse
|
||||
args: "02 Jan 0615:04"
|
||||
selector: td:nth-child(5)
|
||||
size:
|
||||
selector: td:nth-child(6)
|
||||
grabs:
|
||||
selector: td:nth-child(7)
|
||||
seeders:
|
||||
selector: td:nth-child(8)
|
||||
leechers:
|
||||
selector: td:nth-child(9)
|
||||
downloadvolumefactor:
|
||||
case:
|
||||
"strong.tl_free:contains(\"Freeleech!\")": "0"
|
||||
"*": "1"
|
||||
uploadvolumefactor:
|
||||
case:
|
||||
|
|
Loading…
Reference in New Issue