mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 16:59:12 +00:00
feat(indexers): add LST (#682)
* feat(indexers): add LST * added infourl
This commit is contained in:
parent
ad0d482065
commit
b95c1e6913
1 changed files with 66 additions and 0 deletions
66
internal/indexer/definitions/lst.yaml
Normal file
66
internal/indexer/definitions/lst.yaml
Normal file
|
@ -0,0 +1,66 @@
|
||||||
|
---
|
||||||
|
#id: lst
|
||||||
|
name: LST
|
||||||
|
identifier: lst
|
||||||
|
description: LST is an English private tracker for MOVIES / TV / GENERAL
|
||||||
|
language: en-us
|
||||||
|
urls:
|
||||||
|
- https://lst.gg/
|
||||||
|
privacy: private
|
||||||
|
protocol: torrent
|
||||||
|
supports:
|
||||||
|
- irc
|
||||||
|
- rss
|
||||||
|
source: UNIT3D
|
||||||
|
settings:
|
||||||
|
- name: rsskey
|
||||||
|
type: secret
|
||||||
|
required: true
|
||||||
|
label: RSS key (RID)
|
||||||
|
help: "Go to your profile tab, Settings > Security, copy RSS Key (RID)"
|
||||||
|
|
||||||
|
irc:
|
||||||
|
network: LST
|
||||||
|
server: irc.lst.gg
|
||||||
|
port: 6697
|
||||||
|
tls: true
|
||||||
|
channels:
|
||||||
|
- "#announce"
|
||||||
|
announcers:
|
||||||
|
- LSTANNOUNCE
|
||||||
|
settings:
|
||||||
|
- name: nick
|
||||||
|
type: text
|
||||||
|
required: true
|
||||||
|
label: Username
|
||||||
|
help: Must be your site username.
|
||||||
|
|
||||||
|
- name: pass
|
||||||
|
type: secret
|
||||||
|
required: false
|
||||||
|
label: IRC key
|
||||||
|
help: Generated IRC key can be found on your profile.
|
||||||
|
|
||||||
|
parse:
|
||||||
|
type: single
|
||||||
|
lines:
|
||||||
|
- test:
|
||||||
|
- "Category [Movies] Type [Remux] Name [Movie1995 1080p BluRay REMUX AVC DTS-HD MA 5.1-Ripper] Resolution [1080p] Freeleech [0%] Internal [No] Double Upload [No] Size [37.81 GiB] Uploader [GRiMM] Url [http://lst.gg/torrents/00000]"
|
||||||
|
- "Category [Movies] Type [Remux] Name [Some Random Movie 1985 1080p BluRay REMUX VC-1 DTS-HD MA 5.1-Ripper] Freeleech [0%] Internal [No] Double Upload [No] Size [25.35 GiB] Uploader [GRiMM] Url [http://lst.gg/torrents/00000]"
|
||||||
|
pattern: 'Category \[(.*)\] Type \[(.*)\] Name \[(.*?)\] ?(?:Resolution \[(.*)\])? Freeleech \[(.*)\] Internal \[(.*)\] Double Upload \[(.*)\] Size \[(.*)\] Uploader \[(.*)\] Url \[(https?://.+/).+/(\d+)\]'
|
||||||
|
vars:
|
||||||
|
- category
|
||||||
|
- releaseTags
|
||||||
|
- torrentName
|
||||||
|
- resolution
|
||||||
|
- freeleechPercent
|
||||||
|
- internal
|
||||||
|
- tags
|
||||||
|
- torrentSize
|
||||||
|
- uploader
|
||||||
|
- baseUrl
|
||||||
|
- torrentId
|
||||||
|
|
||||||
|
match:
|
||||||
|
infourl: "/torrents/{{ .torrentId }}"
|
||||||
|
torrenturl: "/torrent/download/{{ .torrentId }}.{{ .rsskey }}"
|
Loading…
Add table
Add a link
Reference in a new issue