Jackett/src/Jackett.Common/Definitions/btdb.yml

115 lines
3.1 KiB
YAML
Raw Normal View History

---
id: btdb
name: BTDB
description: "BTDB is a Public BitTorrent DHT search engine."
language: en-us
type: public
encoding: UTF-8
followredirect: true
links:
- https://btdb.eu/
- https://btdb.unblockit.app/
legacylinks:
- https://btdb.to/
- https://btdb.unblocked.app/
- https://btdb.unblockit.pro/
- https://btdb.unblockit.one/
2020-05-12 19:15:11 +00:00
- https://btdb.black-mirror.xyz/
- https://btdb.unblocked.casa/
- https://btdb.proxyportal.fun/
- https://btdb.uk-unblock.xyz/
- https://btdb.ind-unblock.xyz/
- https://btdb.io/ # ERR_NAME_NOT_RESOLVED
- https://btdb.unblockit.me/
- https://btdb.unblockit.pw/
- https://btdb.unblockit.id/
- https://btdb.unblockit.win/
- https://btdb.unblocked.bar/
- https://btdb.proxyportal.pw/
- https://btdb.uk-unblock.pro/
- https://btdb.unblockit.top/
- https://btdb.unblockit.lat/
caps:
categories:
Other: Other
modes:
search: [q]
tv-search: [q, season, ep]
movie-search: [q]
music-search: [q]
book-search: [q]
settings:
- name: info_8000
type: info
label: About BTDB Categories
default: BTDB does not return categories in its search results.</br>To add to your Apps' Torznab indexer, replace all categories with 8000(Other).
- name: sort
type: select
label: Sort requested from site
2020-10-23 05:22:00 +00:00
default: time
options:
2020-10-23 05:22:00 +00:00
time: created
length: size
seeders: seeders
search:
paths:
2020-11-17 03:28:44 +00:00
- path: "{{ if .Keywords }}search/{{ .Keywords }}/{{ else }}recent{{ end }}?sort={{ .Config.sort }}"
- path: "{{ if .Keywords }}search/{{ .Keywords }}/{{ else }}recent{{ end }}?sort={{ .Config.sort }}&page=2"
- path: "{{ if .Keywords }}search/{{ .Keywords }}/{{ else }}recent{{ end }}?sort={{ .Config.sort }}&page=3"
- path: "{{ if .Keywords }}search/{{ .Keywords }}/{{ else }}recent{{ end }}?sort={{ .Config.sort }}&page=4"
- path: "{{ if .Keywords }}search/{{ .Keywords }}/{{ else }}recent{{ end }}?sort={{ .Config.sort }}&page=5"
2020-01-16 04:33:16 +00:00
rows:
selector: div.media
2020-01-16 04:33:16 +00:00
fields:
category:
text: Other
title:
selector: a[href*="/torrent/"]
attribute: title
details:
selector: a[href*="/torrent/"]
attribute: href
download:
2020-05-13 00:17:16 +00:00
# download can be missing despite icon being present. Fortunately the magnet is always there
selector: a[href$=".torrent"]
attribute: href
optional: true
magnet:
selector: a[href^="magnet:?xt="]
attribute: href
poster:
selector: a.img-thumbnail img
attribute: src
filters:
- name: replace
args: ["https://btdb.io/assets/img/placeholder.png", ""]
date:
selector: small:nth-of-type(5) strong
filters:
- name: timeago
size:
selector: small:nth-of-type(1) strong
files:
selector: small:nth-of-type(2) strong
seeders:
selector: small:nth-of-type(3) strong
filters:
- name: replace
args: [",", ""]
leechers:
selector: small:nth-of-type(4) strong
filters:
- name: replace
args: [",", ""]
downloadvolumefactor:
text: 0
uploadvolumefactor:
text: 1
2020-01-16 04:33:16 +00:00
# engine n/a