mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
* docs: add BTDB public tracker. Closes #1564 * Create btdb.yml
This commit is contained in:
@@ -25,6 +25,7 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/
|
|||||||
* Anidex
|
* Anidex
|
||||||
* Anime Tosho
|
* Anime Tosho
|
||||||
* AniRena
|
* AniRena
|
||||||
|
* BTDB
|
||||||
* cpasbien
|
* cpasbien
|
||||||
* EZTV
|
* EZTV
|
||||||
* GkTorrent
|
* 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"
|
Reference in New Issue
Block a user