From 1ef0254160cacb4ef5ceb53dde6fbb3a98387ff0 Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Wed, 28 Jul 2021 19:41:23 +1200 Subject: [PATCH] remove btdb. resolves #1564 --- README.md | 1 - src/Jackett.Common/Definitions/btdb.yml | 127 ------------------------ src/Jackett.Updater/Program.cs | 1 + 3 files changed, 1 insertion(+), 128 deletions(-) delete mode 100644 src/Jackett.Common/Definitions/btdb.yml diff --git a/README.md b/README.md index f1da6b84d..427139188 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,6 @@ A third-party Golang SDK for Jackett is available from [webtor-io/go-jackett](ht * BitRu * BT.etree * BT4G - * BTDB * BTDIGG * BTSOW * Byrutor diff --git a/src/Jackett.Common/Definitions/btdb.yml b/src/Jackett.Common/Definitions/btdb.yml deleted file mode 100644 index d6b093762..000000000 --- a/src/Jackett.Common/Definitions/btdb.yml +++ /dev/null @@ -1,127 +0,0 @@ ---- -id: btdb -name: BTDB -description: "BTDB is a Public BitTorrent DHT search engine." -language: en-us -type: public -encoding: UTF-8 -followredirect: true -links: - # update poster placeholder link too - - https://btdb.eu/ - - https://btdb.unblockit.uno/ -legacylinks: - - https://btdb.to/ - - https://btdb.unblocked.app/ - - https://btdb.unblockit.pro/ - - https://btdb.unblockit.one/ - - https://btdb.black-mirror.xyz/ - - https://btdb.unblocked.casa/ - - https://btdb.proxyportal.fun/ - - https://btdb.uk-unblock.xyz/ - - https://btdb.ind-unblock.xyz/ - - https://btdb.io/ # ERR_NAME_NOT_RESOLVED - - https://btdb.unblockit.me/ - - https://btdb.unblockit.pw/ - - https://btdb.unblockit.id/ - - https://btdb.unblockit.win/ - - https://btdb.unblocked.bar/ - - https://btdb.proxyportal.pw/ - - https://btdb.uk-unblock.pro/ - - https://btdb.unblockit.top/ - - https://btdb.unblockit.lat/ - - https://btdb.unblockit.app/ - - https://btdb.unblockit.dev/ - - https://btdb.unblockit.ltd/ - - https://btdb.unblockit.link/ - - https://btdb.unblockit.buzz/ - - https://btdb.unblockit.club/ - - https://btdb.unblockit.onl/ - - https://btdb.unblockit.li/ - -caps: - categories: - Other: Other - - modes: - search: [q] - tv-search: [q, season, ep] - movie-search: [q] - music-search: [q] - book-search: [q] - -settings: - - name: flaresolverr - type: info - label: FlareSolverr - default: This site may use Cloudflare DDoS Protection, therefore Jackett requires FlareSolver to access it. - - name: info_8000 - type: info - label: About BTDB Categories - default: BTDB does not return categories in its search results.
To add to your Apps' Torznab indexer, replace all categories with 8000(Other). - - name: sort - type: select - label: Sort requested from site - default: time - options: - time: created - length: size - seeders: seeders - -search: - paths: - - path: "{{ if .Keywords }}search/{{ .Keywords }}/{{ else }}recent{{ end }}?sort={{ .Config.sort }}" - - path: "{{ if .Keywords }}search/{{ .Keywords }}/{{ else }}recent{{ end }}?sort={{ .Config.sort }}&page=2" - - path: "{{ if .Keywords }}search/{{ .Keywords }}/{{ else }}recent{{ end }}?sort={{ .Config.sort }}&page=3" - - path: "{{ if .Keywords }}search/{{ .Keywords }}/{{ else }}recent{{ end }}?sort={{ .Config.sort }}&page=4" - - path: "{{ if .Keywords }}search/{{ .Keywords }}/{{ else }}recent{{ end }}?sort={{ .Config.sort }}&page=5" - - rows: - selector: div.media - - fields: - category: - text: Other - title: - selector: a[href*="/torrent/"] - attribute: title - details: - selector: a[href*="/torrent/"] - attribute: href - download: - # download can be missing despite icon being present. Fortunately the magnet is always there - selector: a[href$=".torrent"] - attribute: href - optional: true - magnet: - selector: a[href^="magnet:?xt="] - attribute: href - poster: - selector: a.img-thumbnail img - attribute: src - filters: - - name: replace - args: ["https://btdb.eu/assets/img/placeholder.png", ""] - date: - selector: small:nth-of-type(5) strong - filters: - - name: timeago - size: - selector: small:nth-of-type(1) strong - files: - selector: small:nth-of-type(2) strong - seeders: - selector: small:nth-of-type(3) strong - filters: - - name: replace - args: [",", ""] - leechers: - selector: small:nth-of-type(4) strong - filters: - - name: replace - args: [",", ""] - downloadvolumefactor: - text: 0 - uploadvolumefactor: - text: 1 -# engine n/a diff --git a/src/Jackett.Updater/Program.cs b/src/Jackett.Updater/Program.cs index e7f5165e8..e12ece46e 100644 --- a/src/Jackett.Updater/Program.cs +++ b/src/Jackett.Updater/Program.cs @@ -280,6 +280,7 @@ namespace Jackett.Updater "Definitions/brobits.yml", "Definitions/bt-scene.yml", "Definitions/btbit.yml", + "Definitions/btdb.yml", "Definitions/bteye.yml", "Definitions/btgigs.yml", "Definitions/btkitty.yml",