2017-04-15 08:45:10 +00:00
|
|
|
---
|
|
|
|
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
|
2017-09-11 09:03:57 +00:00
|
|
|
|
2017-04-15 08:45:10 +00:00
|
|
|
search:
|
2017-10-23 17:55:22 +00:00
|
|
|
paths:
|
|
|
|
- path: browse.php
|
2017-04-15 08:45:10 +00:00
|
|
|
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-09-11 09:03:57 +00:00
|
|
|
selector: a[href^="details.php?id="]
|
2017-04-15 08:45:10 +00:00
|
|
|
attribute: href
|
2017-09-11 09:03:57 +00:00
|
|
|
filters:
|
|
|
|
- name: replace
|
|
|
|
args: ["details.php?id=", "download.php?id="]
|
2017-04-15 08:45:10 +00:00
|
|
|
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"
|