mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 08:49:13 +00:00
feat(indexers): add BitSexy (#623)
* feat(indexers): add BitSexy * feat(indexers): add additional test case * feat(indexers): capture pretime var * feat(indexers): simplify pattern
This commit is contained in:
parent
7dea04624b
commit
3b66568aa8
1 changed files with 65 additions and 0 deletions
65
internal/indexer/definitions/bitsexy.yaml
Normal file
65
internal/indexer/definitions/bitsexy.yaml
Normal file
|
@ -0,0 +1,65 @@
|
|||
---
|
||||
#id: bitsexy
|
||||
name: BitSexy
|
||||
identifier: bitsexy
|
||||
description: BitSexy (BSEX) is a private torrent tracker for XXX
|
||||
language: en-us
|
||||
urls:
|
||||
- https://bitsexy.org/
|
||||
privacy: private
|
||||
protocol: torrent
|
||||
supports:
|
||||
- irc
|
||||
- rss
|
||||
source: custom
|
||||
settings:
|
||||
- name: passkey
|
||||
type: secret
|
||||
required: true
|
||||
label: Passkey
|
||||
help: "Copy your passkey from the profile and paste it in the field below."
|
||||
|
||||
irc:
|
||||
network: BitSexy
|
||||
server: irc.bitsexy.org
|
||||
port: 6697
|
||||
tls: true
|
||||
channels:
|
||||
- "#announce"
|
||||
announcers:
|
||||
- Mmmmm
|
||||
settings:
|
||||
- name: nick
|
||||
type: text
|
||||
required: true
|
||||
label: Nick
|
||||
help: Bot nick. Eg. user_dl
|
||||
|
||||
- name: auth.account
|
||||
type: text
|
||||
required: false
|
||||
label: NickServ Account
|
||||
help: NickServ account. Make sure to group your user and bot.
|
||||
|
||||
- name: auth.password
|
||||
type: secret
|
||||
required: false
|
||||
label: NickServ Password
|
||||
help: NickServ password
|
||||
|
||||
parse:
|
||||
type: single
|
||||
lines:
|
||||
- test:
|
||||
- '[NEW] Best actress - Funny title 15 [720p]-SEX (Hardcore) https://bitsexy.org/details.php?id=00000 [PRED 90 seconds ago]'
|
||||
- '[NEW] Best actress - Funny title 15 [720p]-SEX (Hardcore) https://bitsexy.org/details.php?id=00000'
|
||||
pattern: '\[NEW\] (.*) \((.*)\) (https?\:\/\/.*\/).*id=(\d+).?(?:\[PRED (.*) ago\])?'
|
||||
vars:
|
||||
- torrentName
|
||||
- category
|
||||
- baseUrl
|
||||
- torrentId
|
||||
- preTime
|
||||
|
||||
match:
|
||||
torrenturl: "/download.php?torrent={{ .torrentId }}&torrent_pass={{ .passkey }}"
|
Loading…
Add table
Add a link
Reference in a new issue