mirror of
https://github.com/Jackett/Jackett
synced 2025-01-01 04:38:20 +00:00
add DIGBT a public DHT search engine. resolves #4344
This commit is contained in:
parent
25ae101654
commit
a2c881a968
2 changed files with 75 additions and 0 deletions
|
@ -29,6 +29,7 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/
|
|||
* btbit
|
||||
* cpasbien
|
||||
* cpasbienClone
|
||||
* DIGBT
|
||||
* ETTV
|
||||
* EliteTorrent.biz
|
||||
* ExtraTorrent.ag
|
||||
|
|
74
src/Jackett.Common/Definitions/digbt.yml
Normal file
74
src/Jackett.Common/Definitions/digbt.yml
Normal file
|
@ -0,0 +1,74 @@
|
|||
---
|
||||
site: digbt
|
||||
name: DIGBT
|
||||
description: "DIGBT is a Public BitTorrent DHT search engine"
|
||||
language: en-us
|
||||
type: public
|
||||
encoding: UTF-8
|
||||
links:
|
||||
- https://www.digbt.org/
|
||||
|
||||
caps:
|
||||
categories:
|
||||
# DIGBT does not support categories
|
||||
1: Other
|
||||
|
||||
modes:
|
||||
search: [q]
|
||||
|
||||
settings: []
|
||||
|
||||
search:
|
||||
# DIGBT does not support a default empty search or provide trending/latest/new pages
|
||||
# attempt to fetch up to 50 results (10 per page)
|
||||
paths:
|
||||
- path: "search/{{if .Keywords}}{{.Keywords}}{{else}}test{{end}}?c=&s=time&u=y"
|
||||
- path: "search/{{if .Keywords}}{{.Keywords}}-time-2/{{else}}test-time-2/{{end}}?c=&s=time&u=y"
|
||||
- path: "search/{{if .Keywords}}{{.Keywords}}-time-3/{{else}}test-time-3/{{end}}?c=&s=time&u=y"
|
||||
- path: "search/{{if .Keywords}}{{.Keywords}}-time-4/{{else}}test-time-4/{{end}}?c=&s=time&u=y"
|
||||
- path: "search/{{if .Keywords}}{{.Keywords}}-time-5/{{else}}test-time-5/{{end}}?c=&s=time&u=y"
|
||||
rows:
|
||||
selector: tr td.x-item
|
||||
fields:
|
||||
title:
|
||||
selector: div a
|
||||
category:
|
||||
text: "1"
|
||||
details:
|
||||
selector: div a
|
||||
attribute: href
|
||||
download:
|
||||
selector: div.tail a[href^="magnet:?"]
|
||||
attribute: href
|
||||
magnet:
|
||||
selector: div.tail a[href^="magnet:?"]
|
||||
attribute: href
|
||||
date:
|
||||
selector: div span.ctime
|
||||
filters:
|
||||
- name: replace
|
||||
args: ["yesterday", "1 day"]
|
||||
- name: timeago
|
||||
size:
|
||||
selector: div.tail
|
||||
filters:
|
||||
- name: regexp
|
||||
args: "Size: (.+?) Downloads:"
|
||||
files:
|
||||
selector: div.tail
|
||||
filters:
|
||||
- name: regexp
|
||||
args: "Files: (.+?) Size:"
|
||||
seeders:
|
||||
text: "1"
|
||||
leechers:
|
||||
text: "1"
|
||||
grabs:
|
||||
selector: div.tail
|
||||
filters:
|
||||
- name: regexp
|
||||
args: "Downloads: (.+?) Updated:"
|
||||
downloadvolumefactor:
|
||||
text: "0"
|
||||
uploadvolumefactor:
|
||||
text: "1"
|
Loading…
Reference in a new issue