mirror of
https://github.com/Jackett/Jackett
synced 2024-12-23 00:08:23 +00:00
add btdirectory a public site. resolves #15518
This commit is contained in:
parent
ecb64db603
commit
9bfde9d4d2
2 changed files with 77 additions and 0 deletions
|
@ -41,6 +41,7 @@ A third-party Golang SDK for Jackett is available from [webtor-io/go-jackett](ht
|
||||||
* BitRu
|
* BitRu
|
||||||
* BitSearch
|
* BitSearch
|
||||||
* BT.etree
|
* BT.etree
|
||||||
|
* BTdirectory (BT目录)
|
||||||
* BTMET
|
* BTMET
|
||||||
* BTSOW
|
* BTSOW
|
||||||
* Byrutor
|
* Byrutor
|
||||||
|
|
76
src/Jackett.Common/Definitions/btdirectory.yml
Normal file
76
src/Jackett.Common/Definitions/btdirectory.yml
Normal file
|
@ -0,0 +1,76 @@
|
||||||
|
---
|
||||||
|
id: btdirectory
|
||||||
|
name: BTdirectory
|
||||||
|
description: "BTdirectory (BT目录) is a Public DHT Crawler"
|
||||||
|
language: en-US
|
||||||
|
type: public
|
||||||
|
encoding: UTF-8
|
||||||
|
# current domain at https://cursor.vip/btmulu then follow links to the final search-movie link
|
||||||
|
links:
|
||||||
|
- https://btmulu.work/
|
||||||
|
- https://www.btmulu.digital/
|
||||||
|
|
||||||
|
caps:
|
||||||
|
categorymappings:
|
||||||
|
- {id: Other, cat: Other, desc: Other}
|
||||||
|
|
||||||
|
modes:
|
||||||
|
search: [q]
|
||||||
|
tv-search: [q, season, ep]
|
||||||
|
movie-search: [q]
|
||||||
|
music-search: [q]
|
||||||
|
book-search: [q]
|
||||||
|
|
||||||
|
settings:
|
||||||
|
- name: info_category_8000
|
||||||
|
type: info_category_8000
|
||||||
|
|
||||||
|
search:
|
||||||
|
paths:
|
||||||
|
# https://www.btmulu.digital/search-create.html
|
||||||
|
# https://btmulu.work/search.html?name=the+boys+s04e08
|
||||||
|
- path: "{{ if .Keywords }}search.html{{ else }}search-create.html{{ end }}"
|
||||||
|
inputs:
|
||||||
|
name: "{{ re_replace .Keywords \"[\\s]+\" \"+\" }}"
|
||||||
|
|
||||||
|
rows:
|
||||||
|
selector: article.item
|
||||||
|
filters:
|
||||||
|
- name: andmatch
|
||||||
|
|
||||||
|
fields:
|
||||||
|
category:
|
||||||
|
text: Other
|
||||||
|
title:
|
||||||
|
selector: h4
|
||||||
|
remove: span
|
||||||
|
details:
|
||||||
|
selector: a[href^="/hash/"]
|
||||||
|
attribute: href
|
||||||
|
infohash:
|
||||||
|
selector: article.item
|
||||||
|
attribute: data-key
|
||||||
|
date:
|
||||||
|
selector: p
|
||||||
|
filters:
|
||||||
|
- name: regexp
|
||||||
|
args: (\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2})
|
||||||
|
files:
|
||||||
|
selector: p
|
||||||
|
filters:
|
||||||
|
- name: regexp
|
||||||
|
args: "File Count:(\\d+)"
|
||||||
|
size:
|
||||||
|
selector: p
|
||||||
|
filters:
|
||||||
|
- name: regexp
|
||||||
|
args: "Size:(\\d+\\.?\\d+ [K|M|G]B)"
|
||||||
|
seeders:
|
||||||
|
text: 1
|
||||||
|
leechers:
|
||||||
|
text: 1
|
||||||
|
downloadvolumefactor:
|
||||||
|
text: 0
|
||||||
|
uploadvolumefactor:
|
||||||
|
text: 1
|
||||||
|
# engine n/a
|
Loading…
Reference in a new issue