mirror of
https://github.com/Jackett/Jackett
synced 2025-01-01 12:46:23 +00:00
add btdb re-incanation of the public DHT crawler. resolves #4913
This commit is contained in:
parent
68de3e7a6a
commit
3d0e57f273
3 changed files with 65 additions and 1 deletions
|
@ -29,6 +29,7 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/
|
|||
* AudioBook Bay (ABB)
|
||||
* BTstor.net
|
||||
* btbit
|
||||
* BTDB
|
||||
* BTDigg
|
||||
* BTKitty
|
||||
* cpasbien
|
||||
|
|
64
src/Jackett.Common/Definitions/btdb.yml
Normal file
64
src/Jackett.Common/Definitions/btdb.yml
Normal file
|
@ -0,0 +1,64 @@
|
|||
---
|
||||
site: btdb
|
||||
name: BTDB
|
||||
description: "BTDB is a Public BitTorrent DHT search engine."
|
||||
language: en-us
|
||||
type: public
|
||||
encoding: UTF-8
|
||||
links:
|
||||
- https://btdb.eu/
|
||||
legacylinks:
|
||||
- https://btdb.to/
|
||||
- https://btdb.unblocked.app/
|
||||
|
||||
caps:
|
||||
categorymappings:
|
||||
- {id: 1, cat: Other, desc: "Other"}
|
||||
|
||||
modes:
|
||||
search: [q]
|
||||
tv-search: [q, season, ep]
|
||||
movie-search: [q]
|
||||
|
||||
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.
|
||||
|
||||
search:
|
||||
paths:
|
||||
- path: "{{if .Keywords}}?search={{ .Keywords}}&sort=time{{else}}recent{{end}}"
|
||||
- path: "{{if .Keywords}}?search={{ .Keywords}}&sort=time&page=2{{else}}{{end}}"
|
||||
- path: "{{if .Keywords}}?search={{ .Keywords}}&sort=time&page=3{{else}}{{end}}"
|
||||
- path: "{{if .Keywords}}?search={{ .Keywords}}&sort=time&page=4{{else}}{{end}}"
|
||||
rows:
|
||||
selector: li[class$="item"]
|
||||
fields:
|
||||
title:
|
||||
selector: h2[class$="title"] a[href*="/torrent/"]
|
||||
attribute: title
|
||||
category:
|
||||
text: "1"
|
||||
details:
|
||||
selector: h2[class$="title"] a[href*="/torrent/"]
|
||||
attribute: href
|
||||
magnet:
|
||||
selector: div[class$="info"] a[href^="magnet:?xt="]
|
||||
attribute: href
|
||||
size:
|
||||
selector: div[class$="info"] span:nth-of-type(1)
|
||||
files:
|
||||
selector: div[class$="info"] span:nth-of-type(2)
|
||||
date:
|
||||
selector: div[class$="info"] span:nth-of-type(3)
|
||||
grabs:
|
||||
selector: div[class$="info"] span:nth-of-type(4)
|
||||
seeders:
|
||||
text: 1
|
||||
leechers:
|
||||
text: 1
|
||||
downloadvolumefactor:
|
||||
text: "0"
|
||||
uploadvolumefactor:
|
||||
text: "1"
|
|
@ -287,7 +287,6 @@ namespace Jackett.Updater
|
|||
"Definitions/idope.yml",
|
||||
"Definitions/bt-scene.yml",
|
||||
"Definitions/extratorrentclone.yml",
|
||||
"Definitions/btdb.yml",
|
||||
"Definitions/torrentcouch.yml",
|
||||
"Definitions/idopeclone.yml",
|
||||
"Definitions/torrof.yml",
|
||||
|
|
Loading…
Reference in a new issue