mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
Add Secret Cinema tracker (#811)
This commit is contained in:
@@ -68,6 +68,7 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/
|
|||||||
* SceneFZ
|
* SceneFZ
|
||||||
* SceneTime
|
* SceneTime
|
||||||
* SDBits
|
* SDBits
|
||||||
|
* Secret Cinema
|
||||||
* Shareisland
|
* Shareisland
|
||||||
* Shazbat
|
* Shazbat
|
||||||
* SpeedCD
|
* SpeedCD
|
||||||
|
127
src/Jackett/Definitions/secretcinema.yml
Normal file
127
src/Jackett/Definitions/secretcinema.yml
Normal file
@@ -0,0 +1,127 @@
|
|||||||
|
---
|
||||||
|
site: secretcinema
|
||||||
|
name: Secret Cinema
|
||||||
|
description: "A tracker for rare movies."
|
||||||
|
language: en-us
|
||||||
|
encoding: "UTF-8"
|
||||||
|
links:
|
||||||
|
- http://www.secret-cinema.net
|
||||||
|
|
||||||
|
caps:
|
||||||
|
categories:
|
||||||
|
1: TV/Anime # Animation
|
||||||
|
2: Movies # Arthouse
|
||||||
|
3: Movies # Asian
|
||||||
|
19: Audio/Audiobook # Audiobooks
|
||||||
|
29: Movies # Badfilm
|
||||||
|
18: Books # Books
|
||||||
|
4: Movies # Classics
|
||||||
|
5: Movies # Comedy
|
||||||
|
20: Books/Comics # Comix
|
||||||
|
6: Movies # Cult
|
||||||
|
7: TV/Documentary # Documentary
|
||||||
|
8: Movies # Fantasy & SF
|
||||||
|
9: Movies # Horror
|
||||||
|
22: Movies # Noir
|
||||||
|
17: Audio # OST
|
||||||
|
10: Other # Other
|
||||||
|
15: TV # Other TV
|
||||||
|
16: Audio # Radio
|
||||||
|
11: Movies # Silent
|
||||||
|
12: TV # Talent Show!
|
||||||
|
14: Movies # TV Movies
|
||||||
|
13: TV # TV Series
|
||||||
|
|
||||||
|
modes:
|
||||||
|
search: [q]
|
||||||
|
tv-search: [q, season, ep]
|
||||||
|
|
||||||
|
login:
|
||||||
|
path: /takelogin.php
|
||||||
|
method: post
|
||||||
|
inputs:
|
||||||
|
username: "{{ .Config.username }}"
|
||||||
|
password: "{{ .Config.password }}"
|
||||||
|
returnto: "index.php"
|
||||||
|
test:
|
||||||
|
path: /browse.php
|
||||||
|
selector: div.Userstats
|
||||||
|
|
||||||
|
ratio:
|
||||||
|
path: /browse.php
|
||||||
|
selector: div.Userstats
|
||||||
|
filters:
|
||||||
|
- name: regexp
|
||||||
|
args: "\n\u00a0(.*) \u00a0"
|
||||||
|
|
||||||
|
search:
|
||||||
|
path: /browse.php
|
||||||
|
inputs:
|
||||||
|
$raw: "{{range .Categories}}cat{{.}}=on&{{end}}"
|
||||||
|
search: "{{ .Query.Keywords }}"
|
||||||
|
incldead: "1"
|
||||||
|
tpp: "100"
|
||||||
|
dirty: "1"
|
||||||
|
rows:
|
||||||
|
selector: table[id="large"] > tbody > tr:has(div.browsing)
|
||||||
|
dateheaders:
|
||||||
|
selector: ":has(td.colhead[title] > b)"
|
||||||
|
filters:
|
||||||
|
- name: dateparse
|
||||||
|
args: "Mon 02 Jan"
|
||||||
|
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/"]
|
||||||
|
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+)"
|
||||||
|
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"
|
||||||
|
downloadvolumefactor:
|
||||||
|
case:
|
||||||
|
"*": "1"
|
||||||
|
uploadvolumefactor:
|
||||||
|
case:
|
||||||
|
"*": "1"
|
@@ -915,7 +915,7 @@ namespace Jackett.Indexers
|
|||||||
|
|
||||||
// if DateHeaders is set go through the previous rows and look for the header selector
|
// if DateHeaders is set go through the previous rows and look for the header selector
|
||||||
var DateHeaders = Definition.Search.Rows.Dateheaders;
|
var DateHeaders = Definition.Search.Rows.Dateheaders;
|
||||||
if (DateHeaders != null)
|
if (release.PublishDate == null && DateHeaders != null)
|
||||||
{
|
{
|
||||||
var PrevRow = Row.PreviousElementSibling;
|
var PrevRow = Row.PreviousElementSibling;
|
||||||
string value = null;
|
string value = null;
|
||||||
|
@@ -426,6 +426,9 @@
|
|||||||
<Content Include="Definitions\sdbits.yml">
|
<Content Include="Definitions\sdbits.yml">
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
</Content>
|
</Content>
|
||||||
|
<Content Include="Definitions\secretcinema.yml">
|
||||||
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
|
</Content>
|
||||||
<None Include="packages.config">
|
<None Include="packages.config">
|
||||||
<SubType>Designer</SubType>
|
<SubType>Designer</SubType>
|
||||||
</None>
|
</None>
|
||||||
|
Reference in New Issue
Block a user