mirror of
https://github.com/Jackett/Jackett
synced 2024-12-27 02:09:24 +00:00
* docs: add BTDB public tracker. Closes #1564 * Create btdb.yml
This commit is contained in:
parent
ec7a2d049c
commit
9cabf72829
2 changed files with 66 additions and 0 deletions
|
@ -25,6 +25,7 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/
|
|||
* Anidex
|
||||
* Anime Tosho
|
||||
* AniRena
|
||||
* BTDB
|
||||
* cpasbien
|
||||
* EZTV
|
||||
* GkTorrent
|
||||
|
|
65
src/Jackett/Definitions/btdb.yml
Normal file
65
src/Jackett/Definitions/btdb.yml
Normal 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"
|
Loading…
Reference in a new issue