Jackett/src/Jackett.Common/Definitions/zooqle.yml

102 lines
2.8 KiB
YAML
Raw Normal View History

2017-09-15 06:01:10 +00:00
---
site: zooqle
name: Zooqle
description: "Zooqle is a Public torrent index providing a huge database of verified torrents"
2017-09-15 06:01:10 +00:00
language: en-us
type: public
encoding: UTF-8
links:
- https://zooqle.com
caps:
categories:
2017-12-18 17:32:04 +00:00
"anime": TV/Anime
"app": PC
"book": Books
"game": PC/Games
"movies": Movies
"music": Audio
"other": Other/Misc
"tv": TV
2017-09-15 06:01:10 +00:00
modes:
search: [q]
tv-search: [q, season, ep]
movie-search: [q]
2017-09-15 06:01:10 +00:00
settings: []
search:
2017-12-18 17:32:04 +00:00
# if keyword is specified sorted by descending seeders otherwise by time
# includes only verified torrents
paths:
2017-12-18 17:34:48 +00:00
- path: "/search?{{if .Keywords}}s=ns&v=t&sd=d&q={{ .Keywords}}{{else}}s=dt&v=t&sd=d&q= *{{end}}{{if .Categories}} category:{{range .Categories}}{{.}},{{end}}{{else}}{{end}}"
2017-09-15 06:01:10 +00:00
rows:
selector: tr:has(td[class^="text-muted3"])
fields:
title:
selector: td:nth-child(2) a
category:
selector: td:nth-child(2) > i
attribute: class
filters:
# extract the second class
- name: split
args: [" ", 1]
2017-12-18 17:32:04 +00:00
# remove zqf- prefix
- name: replace
args: ["zqf-", ""]
2017-09-15 06:01:10 +00:00
details:
selector: td:nth-child(2) a
attribute: href
download:
# .torrent urls can be missing
optional: true
selector: a[title^="Generate .torrent"]
attribute: href
magnet:
# magnets urls can be missing
optional: true
selector: a[title^="Magnet link"]
attribute: href
date:
selector: td:nth-child(5)
filters:
# a date of 'long ago' causes the timeago filter to return '0m ago' which is contra
2017-09-15 06:01:10 +00:00
- name: replace
args: ["long ago", "99 years"]
# a date of 'yesterday' causes the timeago filter to return '0m ago' which is contra
- name: replace
args: ["yesterday", "1 day"]
2017-09-15 06:01:10 +00:00
- name: timeago
size:
selector: td:nth-child(4)
filters:
# a size of ' N/A ' causes Jackett to reject the row with an error
2017-09-15 06:01:10 +00:00
- name: replace
args: [" N/A ", "0 Bytes"]
seeders:
# seeders can be missing
optional: true
selector: td:nth-child(6) div
attribute: title
filters:
- name: split
args: [" ", 1]
- name: replace
args: [",", ""]
2017-09-15 06:01:10 +00:00
leechers:
# leechers can be missing
optional: true
selector: td:nth-child(6) div
attribute: title
filters:
- name: split
args: [" ", 4]
- name: replace
args: [",", ""]
2017-09-15 06:01:10 +00:00
downloadvolumefactor:
text: "0"
uploadvolumefactor:
text: "1"