autobrr/internal/indexer/definitions/seedpool.yaml
ze0s be9a956598
feat(indexers): update SeedPool IRC announce parsing (#1835)
* feat(indexers): update SeedPool IRC port

* feat(indexers): SeedPool add db migration

* fix(indexers): adapt regex, tests and vars

* fix(indexers): set internal var to origin to fix parsing

---------

Co-authored-by: martylukyy <35452459+martylukyy@users.noreply.github.com>
2024-11-24 18:34:40 +01:00

86 lines
2.6 KiB
YAML
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
#id: seedpool
name: SeedPool
identifier: seedpool
description: SeedPool is a private torrent tracker for 0DAY / GENERAL
language: en-us
urls:
- https://seedpool.org/
privacy: private
protocol: torrent
supports:
- irc
- rss
# source: UNIT3D
settings:
- name: rsskey
type: secret
required: true
label: RSS key (RID)
help: "Go to Settings > RSS Keys and then copy RSS Key (RID)"
irc:
network: SeedPool
server: irc.seedpool.org
port: 6697
tls: true
channels:
- "#announce"
announcers:
- seedpool
- uploader
settings:
- name: nick
type: text
required: true
label: Nick
help: Bot nick. Eg. user_bot
parse:
type: single
lines:
- tests:
- line: 【 BoxSet 】 Some - Box Set (2023) S01 (2160p DSNP WEB-DL Hybrid H265 DV HDR DDP 5.1 English - GROUP) ჻ seedpool@https://seedpool.org/torrents/00000 ჻ 39.74 GiB
expect:
category: BoxSet
torrentName: Some - Box Set (2023) S01 (2160p DSNP WEB-DL Hybrid H265 DV HDR DDP 5.1 English - GROUP)
uploader: "seedpool"
baseUrl: https://seedpool.org/
torrentId: "00000"
torrentSize: 39.74 GiB
origin: ""
freeleech: ""
- line: 【 Music 】 Music.0-Day.FLAC.2024-11-24.seedpool ჻ seedpool@https://seedpool.org/torrents/00000 ჻ 56.73 GiB ჻ iNTERNAL ჻ ★
expect:
category: Music
torrentName: Music.0-Day.FLAC.2024-11-24.seedpool
uploader: "seedpool"
baseUrl: https://seedpool.org/
torrentId: "00000"
torrentSize: 56.73 GiB
origin: "iNTERNAL"
freeleech: "★"
- line: 【 Movie 】 Some Movie 2024 1080p BluRay REMUX AVC DTS-HD-MA 5 1-UnKn0wn ჻ seedpool@https://seedpool.org/torrents/00000 ჻ 17.85 GiB ჻ ★
expect:
category: Movie
torrentName: Some Movie 2024 1080p BluRay REMUX AVC DTS-HD-MA 5 1-UnKn0wn
uploader: "seedpool"
baseUrl: https://seedpool.org/
torrentId: "00000"
torrentSize: 17.85 GiB
origin: ""
freeleech: "★"
pattern: '^【 (.+?) 】 (.*?) ჻ (.*?)@(https:\/\/.*?\/)torrents/(\d+) ჻ ([^჻]+)(?: ჻ (iNTERNAL))?(?: ჻ (★))?$'
vars:
- category
- torrentName
- uploader
- baseUrl
- torrentId
- torrentSize
- origin
- freeleech
match:
infourl: "/torrents/{{ .torrentId }}"
torrenturl: "/torrent/download/{{ .torrentId }}.{{ .rsskey }}"