autobrr/internal/indexer/definitions/locadora.yaml
costaht fdea29103d
feat(indexers): Locadora add internal and tags var (#1433)
* Adding internal and tags to the indexer

We just added the fields internal and tvdb/tmdb ids to the announce and these are the new regular expressions to match those changes.
Looking forward to having access to Tags as a variable to be used on scripts.

Thank you

* fix(indexers): remove superfluous characters in regex

---------

Co-authored-by: martylukyy <35452459+martylukyy@users.noreply.github.com>
2024-02-27 12:08:44 +01:00

81 lines
2.1 KiB
YAML

---
#id: Locadora
name: Locadora
identifier: locadora
description: Locadora is a Brazilian tracker for Movies, TV Shows and Animes.
language: pt-BR
urls:
- https://locadora.cc/
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: locadora.cc
server: irc.locadora.cc
port: 6667
tls: false
channels:
- "#announce"
announcers:
- LCD
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
parse:
type: single
lines:
- tests:
- line: '[Filmes] [WEB-DL] [1080p] [Paul 2011 1080p AMZN WEB-DL DDP5.1 H.264 pt-BR ENG-LCD / Portuguese (BR) English (US)] [https://locadora.cc/torrents/28808] [7.61 GiB] [100%] [Internal:1] [tmdb-39513]'
expect:
category: Filmes
releaseTags: WEB-DL
resolution: 1080p
torrentName: Paul 2011 1080p AMZN WEB-DL DDP5.1 H.264 pt-BR ENG-LCD / Portuguese (BR) English (US)
baseUrl: https://locadora.cc/
torrentId: "28808"
torrentSize: 7.61 GiB
freeleechPercent: 100%
internal: "1"
tags: "39513"
pattern: '\[(.+)\] \[(.+)\] \[(.+)\] \[(.+?)\] \[(https?\:\/\/.+\/).+\/(\d+)\] \[(.+?)\] \[(.+?)\] \[Internal:(\d)\] \[[a-z]+-(\d+)\]'
vars:
- category
- releaseTags
- resolution
- torrentName
- baseUrl
- torrentId
- torrentSize
- freeleechPercent
- internal
- tags
match:
infourl: "/torrents/{{ .torrentId }}"
torrenturl: "/torrent/download/{{ .torrentId }}.{{ .rsskey }}"