2017-09-22 06:04:41 +00:00
|
|
|
---
|
|
|
|
site: btdb
|
|
|
|
name: BTDB
|
2017-10-03 10:47:02 +00:00
|
|
|
description: "BTDB is a Public BitTorrent DHT search engine. Torrents can be downloaded via magnet links"
|
2017-09-22 06:04:41 +00:00
|
|
|
language: en-us
|
|
|
|
type: public
|
|
|
|
encoding: UTF-8
|
|
|
|
links:
|
|
|
|
- https://btdb.to/
|
|
|
|
|
|
|
|
caps:
|
2017-09-23 12:02:49 +00:00
|
|
|
categorymappings:
|
2017-10-03 10:53:48 +00:00
|
|
|
- {id: 1, cat: Other, desc: "Other"}
|
|
|
|
- {id: 2, cat: TV, desc: "TV"}
|
|
|
|
- {id: 3, cat: Movies, desc: ""}
|
2017-09-23 12:02:49 +00:00
|
|
|
|
2017-09-22 06:04:41 +00:00
|
|
|
modes:
|
|
|
|
search: [q]
|
|
|
|
tv-search: [q, season, ep]
|
|
|
|
movie-search: [q]
|
|
|
|
|
2017-10-03 10:53:48 +00:00
|
|
|
settings:
|
|
|
|
- name: info
|
|
|
|
type: info
|
|
|
|
label: Category for Sonarr and Radarr
|
|
|
|
default: BTDB does not use categories. In your Sonarr or Radarr Torznab Indexer settings, set the category to 100001.
|
2017-09-22 06:04:41 +00:00
|
|
|
|
|
|
|
search:
|
2017-10-23 17:55:22 +00:00
|
|
|
paths:
|
|
|
|
- path: "{{if .Keywords}}q/{{ .Keywords}}/?sort=time{{else}}recent{{end}}"
|
2017-10-24 07:32:54 +00:00
|
|
|
- path: "{{if .Keywords}}q/{{ .Keywords}}/2?sort=time{{else}}{{end}}"
|
|
|
|
- path: "{{if .Keywords}}q/{{ .Keywords}}/3?sort=time{{else}}{{end}}"
|
|
|
|
- path: "{{if .Keywords}}q/{{ .Keywords}}/4?sort=time{{else}}{{end}}"
|
|
|
|
- path: "{{if .Keywords}}q/{{ .Keywords}}/5?sort=time{{else}}{{end}}"
|
|
|
|
- path: "{{if .Keywords}}q/{{ .Keywords}}/6?sort=time{{else}}{{end}}"
|
|
|
|
- path: "{{if .Keywords}}q/{{ .Keywords}}/7?sort=time{{else}}{{end}}"
|
|
|
|
- path: "{{if .Keywords}}q/{{ .Keywords}}/8?sort=time{{else}}{{end}}"
|
|
|
|
- path: "{{if .Keywords}}q/{{ .Keywords}}/9?sort=time{{else}}{{end}}"
|
|
|
|
- path: "{{if .Keywords}}q/{{ .Keywords}}/10?sort=time{{else}}{{end}}"
|
2017-09-22 06:04:41 +00:00
|
|
|
rows:
|
|
|
|
selector: li[class$="item"]
|
|
|
|
fields:
|
|
|
|
title:
|
|
|
|
selector: h2[class$="title"] a[href^="/torrent/"]
|
|
|
|
attribute: title
|
2017-10-03 10:53:48 +00:00
|
|
|
category:
|
|
|
|
text: "1"
|
2017-09-22 06:04:41 +00:00
|
|
|
details:
|
|
|
|
selector: h2[class$="title"] a[href^="/torrent/"]
|
|
|
|
attribute: href
|
|
|
|
magnet:
|
|
|
|
selector: div[class$="info"] a[href^="magnet:"]
|
|
|
|
attribute: href
|
|
|
|
date:
|
|
|
|
selector: div[class$="info"]
|
|
|
|
filters:
|
|
|
|
- name: split
|
|
|
|
args: ["\n", 3]
|
|
|
|
- name: replace
|
|
|
|
args: ["AddTime: ", ""]
|
|
|
|
- name: dateparse
|
|
|
|
args: "2006-01-02 15:04:05"
|
|
|
|
size:
|
|
|
|
selector: div[class$="info"]
|
|
|
|
filters:
|
|
|
|
- name: split
|
|
|
|
args: ["\n", 1]
|
|
|
|
- name: replace
|
|
|
|
args: ["Size: ", ""]
|
|
|
|
files:
|
|
|
|
selector: div[class$="info"]
|
|
|
|
filters:
|
|
|
|
- name: split
|
|
|
|
args: ["\n", 2]
|
|
|
|
- name: replace
|
|
|
|
args: ["Files: ", ""]
|
|
|
|
grabs:
|
|
|
|
selector: div[class$="info"]
|
|
|
|
filters:
|
|
|
|
- name: split
|
|
|
|
args: ["\n", 4]
|
|
|
|
- name: replace
|
|
|
|
args: ["Popularity: ", ""]
|
|
|
|
downloadvolumefactor:
|
|
|
|
text: "0"
|
|
|
|
uploadvolumefactor:
|
|
|
|
text: "1"
|