autobrr/internal/indexer/definitions/bitsexy.yaml
ze0s 3b66568aa8
feat(indexers): add BitSexy (#623)
* feat(indexers): add BitSexy

* feat(indexers): add additional test case

* feat(indexers): capture pretime var

* feat(indexers): simplify pattern
2023-01-06 19:10:15 +01:00

65 lines
No EOL
1.5 KiB
YAML

---
#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 }}"