autobrr/internal/indexer/definitions/xspeeds.yaml
ze0s 25a165b764
feat(indexers): add support for optional baseurl override (#551)
* feat(indexers): optional baseurl override

* feat(indexers): update baseUrl parsing

* refactor(indexers): BREAKING move parse to IRC struct

* Move Parse as part of IRC struct from Indexer
* Updated definitions
* Build torrentUrl in stages
* Use new url.JoinPath to build torrentUrl
* Update tests

* refactor(indexers): select option obj

* refactor(indexers): make backwards compatible
2022-12-03 15:40:45 +01:00

107 lines
2.6 KiB
YAML

---
#id: xspeeds
name: XSpeeds
identifier: xspeeds
description: XSpeeds (XS) is a private torrent tracker for MOVIES / TV / GENERAL.
language: en-us
urls:
- https://xspeeds.eu/
privacy: private
protocol: torrent
supports:
- irc
- rss
source: custom
settings:
- name: passkey
type: secret
required: true
label: Passkey
help: "Go to your profile and copy your Passkey"
irc:
network: XSpeeds
server: irc.xspeeds.eu
port: 6697
tls: true
channels:
- "#announce"
announcers:
- Announce
settings:
- name: nick
type: text
required: true
label: Nick
help: Bot nick. Eg. user_bot
- 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
categories:
- 4K Movies
- 4K TV
- 4K TV Boxsets
- Anime
- Audiobooks
- Blu-Ray
- Books Magazines
- Cams/TS
- Documentaries
- DVDR
- Foreign
- Kids
- Mac Games
- MMA
- Movie Boxsets
- Movies
- Music
- Music Videos
- Nintendo
- Other
- PC Games
- Pictures
- Playstation
- PPV
- Soaps
- Sports / MotorSports
- Sports / Olympics
- Sports / UK Football
- TOTM
- TV Boxsets
- TV Boxsets / HD Boxsets
- TV Boxsets / HEVC Boxsets
- TV-HD
- TV-HD / HEVC
- TV-SD
- Wii Games
- Wrestling
- Xbox Games
parse:
type: single
lines:
- test:
- "xspeeds.eu - New Torrent: ( The.Best.Show.S03E07.720p.BluRay.x264-GROUP ) Size: ( 1.96 GB ) Category: ( TV-HD ) Uploader: ( uploader1 ) Link: ( https://www.xspeeds.eu/details.php?id=0000000 )"
- "xspeeds.eu - New Torrent: ( Some.Show.S21E06.1080p.HEVC.x265-GROUP1 ) Size: ( 1.04 GB ) Category: ( HEVC ) Uploader: ( uploader2 ) Link: ( https://www.xspeeds.eu/details.php?id=0000000 )"
- "xspeeds.eu - New Torrent: ( Some.Show.S21E06.XviD-GROUP2 ) Size: ( 861.32 MB ) Category: ( TV-SD ) Uploader: ( uploader2 ) Link: ( https://www.xspeeds.eu/details.php?id=0000000 )"
pattern: '\s*xspeeds.eu - New Torrent: \( (.*) \) Size: \( ([^)]*) \)\s*Category: \( ([^)]*) \) Uploader: \( ([^)]*) \) Link: \( (https?\:\/\/[^\/]+\/).*[&\?]id=(\d+) \)'
vars:
- torrentName
- torrentSize
- category
- uploader
- baseUrl
- torrentId
match:
torrenturl: "/download.php?type=rss&secret_key={{ .passkey }}&id={{ .torrentId }}"