1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2024-12-27 02:09:24 +00:00

add BTDB public tracker. Closes #1564 (#1868)

* docs: add BTDB public tracker. Closes #1564

* Create btdb.yml
This commit is contained in:
garfield69 2017-09-22 18:04:41 +12:00 committed by kaso17
parent ec7a2d049c
commit 9cabf72829
2 changed files with 66 additions and 0 deletions

View file

@ -25,6 +25,7 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/
* Anidex
* Anime Tosho
* AniRena
* BTDB
* cpasbien
* EZTV
* GkTorrent

View file

@ -0,0 +1,65 @@
---
site: btdb
name: BTDB
language: en-us
type: public
encoding: UTF-8
links:
- https://btdb.to/
caps:
modes:
search: [q]
tv-search: [q, season, ep]
movie-search: [q]
settings: []
search:
path: "{{if .Keywords}}q/{{ .Keywords}}/?sort=time{{else}}recent{{end}}"
rows:
selector: li[class$="item"]
fields:
title:
selector: h2[class$="title"] a[href^="/torrent/"]
attribute: title
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"