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

122 lines
3.1 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/
2017-09-15 06:01:10 +00:00
caps:
categories:
2017-12-18 17:32:04 +00:00
"anime": TV/Anime
"app": PC
"book": Books
2018-09-25 04:42:29 +00:00
"files": Other/Misc
2017-12-18 17:32:04 +00:00
"game": PC/Games
"movies": Movies
"music": Audio
2018-09-25 04:42:29 +00:00
"other": Other
2017-12-18 17:32:04 +00:00
"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
2019-12-21 21:04:49 +00:00
settings:
- name: sort
type: select
label: Sort requested from site
default: "dt"
options:
"dt": "created"
"ns": "seeders"
"sz": "size"
- name: type
type: select
label: Order requested from site
default: "d"
options:
"d": "desc"
"a": "asc"
2017-09-15 06:01:10 +00:00
search:
2017-12-18 17:32:04 +00:00
# includes only verified torrents
paths:
2019-12-21 21:04:49 +00:00
- path: "search?{{ if .Keywords }}s={{ .Config.sort }}&v=t&sd={{ .Config.type }}&q={{ .Keywords }}{{else}}s={{ .Config.sort }}&v=t&sd={{ .Config.type }}&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"])
2018-07-04 07:47:48 +00:00
filters:
- name: andmatch
2019-12-21 21:04:49 +00:00
2017-09-15 06:01:10 +00:00
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:
2019-12-21 21:04:49 +00:00
text: 0
2017-09-15 06:01:10 +00:00
uploadvolumefactor:
2019-12-21 21:04:49 +00:00
text: 1
2020-02-14 20:48:27 +00:00
# engine n/a