Jackett/src/Jackett.Common/Definitions/btdigg.yml

84 lines
1.7 KiB
YAML
Raw Normal View History

---
id: btdigg
name: BTDigg
description: "BTDigg is a Public BitTorrent DHT search engine."
language: en-us
type: public
encoding: UTF-8
links:
2020-05-12 22:42:31 +00:00
- https://btdig.com/
2021-03-26 06:12:25 +00:00
- http://btdiggwzoyrwwbiv.onion.ly/
caps:
categories:
Other: Other
modes:
search: [q]
tv-search: [q, season, ep]
movie-search: [q]
2020-10-30 03:03:23 +00:00
music-search: [q]
book-search: [q]
settings:
- name: info_8000
type: info
2020-10-27 22:54:12 +00:00
label: About BTDigg Categories
2020-10-30 03:03:23 +00:00
default: BTDigg does not return categories in its search results.</br>To add to your Apps' Torznab indexer, replace all categories with 8000(Other).
- name: sort
type: select
label: Sort requested from site
default: 0
options:
0: relevance
2: created
3: size
search:
# https://btdig.com/search?q=test&order=2
# only 10 results per page
paths:
- path: search
inputs:
q: "{{ if .Keywords }}{{ .Keywords }}{{ else }}{{ .Today.Year }}{{ end }}"
# 0 relevance 2 age 3 size 4 files
order: "{{ .Config.sort }}"
2019-12-13 20:33:12 +00:00
rows:
selector: div.one_result
filters:
- name: andmatch
2019-12-13 20:33:12 +00:00
fields:
category:
text: Other
title:
selector: div.torrent_name a
details:
selector: div.torrent_name a
attribute: href
download:
selector: a[href^="magnet:?xt="]
attribute: href
date:
selector: span.torrent_age
filters:
- name: replace
args: ["found ", ""]
files:
text: 1
files:
selector: span.torrent_files
optional: true
size:
selector: span.torrent_size
seeders:
text: 1
leechers:
text: 1
downloadvolumefactor:
text: 0
uploadvolumefactor:
text: 1
2020-01-16 04:33:16 +00:00
# dhtcrawler2