Jackett/src/Jackett/Definitions/karagarga.yml

78 lines
1.7 KiB
YAML
Raw Normal View History

---
site: karagarga
name: Karagarga
description: "Rare and obscure movie tracker"
language: en-us
type: private
encoding: UTF-8
links:
- https://karagarga.in/
caps:
categorymappings:
- {id: 1, cat: Movies, desc: "Movies"}
modes:
search: [q]
login:
path: takelogin.php
method: post
inputs:
username: "{{ .Config.username }}"
password: "{{ .Config.password }}"
captcha:
type: image
image: img#captcha_img
input: imagestring
error:
- selector: table:contains("Login failed!")
test:
path: index.php
search:
path: browse.php
inputs:
$raw: "{{range .Categories}}filter_cat[{{.}}]=1&{{end}}"
search: "\"{{ .Query.Keywords }}\""
search_type: "title"
rows:
selector: table#browse > tbody > tr:has(a[href^="browse.php?genre="])
fields:
category:
text: 1
title:
selector: td:nth-child(2) span
download:
2017-08-24 08:48:11 +00:00
selector: a[href^="down.php"]
attribute: href
details:
selector: a[href^="details.php?id="]
attribute: href
grabs:
selector: td:nth-child(12)
filters:
- name: regexp
args: ([\d,]+)
files:
selector: td:nth-child(10)
size:
selector: td:nth-child(11)
seeders:
selector: td:nth-child(13)
leechers:
selector: td:nth-child(14)
date:
selector: td:nth-child(9)
filters:
- name: replace
args: ["'", ""]
- name: dateparse
args: "Jan 02 06"
downloadvolumefactor:
case:
"*": "1"
uploadvolumefactor:
case:
"*": "1"