mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 16:59:12 +00:00
feat(indexers): add ToonsForMe (#1388)
This commit is contained in:
parent
7535ac98d8
commit
c211641c29
1 changed files with 83 additions and 0 deletions
83
internal/indexer/definitions/toonsforme.yaml
Normal file
83
internal/indexer/definitions/toonsforme.yaml
Normal file
|
@ -0,0 +1,83 @@
|
||||||
|
---
|
||||||
|
#id: tfm
|
||||||
|
name: ToonsForMe
|
||||||
|
identifier: tfm
|
||||||
|
description: ToonsForMe (TFM) is an English private tracker
|
||||||
|
language: en-us
|
||||||
|
urls:
|
||||||
|
- https://toonsfor.me/
|
||||||
|
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 > Settings > Security > RSS Key (RID) and paste your current RID into this field."
|
||||||
|
|
||||||
|
irc:
|
||||||
|
network: OnlyEncodes
|
||||||
|
server: irc.onlyencodes.cc
|
||||||
|
port: 6697
|
||||||
|
tls: true
|
||||||
|
channels:
|
||||||
|
- "#tfmannounce"
|
||||||
|
announcers:
|
||||||
|
- RobinHood
|
||||||
|
settings:
|
||||||
|
- name: nick
|
||||||
|
type: text
|
||||||
|
required: true
|
||||||
|
label: Bot nick
|
||||||
|
help: Bot nick. Eg. username|bot
|
||||||
|
|
||||||
|
- name: auth.account
|
||||||
|
type: text
|
||||||
|
required: true
|
||||||
|
label: Username
|
||||||
|
help: Your username on the indexer.
|
||||||
|
|
||||||
|
- name: auth.password
|
||||||
|
type: secret
|
||||||
|
required: true
|
||||||
|
label: IRC Password
|
||||||
|
help: Paste your IRC Password into this field. In case you don't have an IRC password, go to your profile > Settings > Security > IRC Password and generate one.
|
||||||
|
|
||||||
|
parse:
|
||||||
|
type: single
|
||||||
|
lines:
|
||||||
|
- tests:
|
||||||
|
- line: Category [Movie] Type [Remux] Name [HomeMade Movie 1998 1080p BluRay REMUX AVC DD 2.0-Group] Resolution [1080p] Freeleech [0%] Internal [No] Double Upload [No] Size [16.8 GiB] Uploader [uploaderName] Url [https://toonsfor.me/torrents/download/1]
|
||||||
|
expect:
|
||||||
|
category: Movie
|
||||||
|
releaseTags: Remux
|
||||||
|
torrentName: HomeMade Movie 1998 1080p BluRay REMUX AVC DD 2.0-Group
|
||||||
|
resolution: 1080p
|
||||||
|
freeleechPercent: 0%
|
||||||
|
internal: "No"
|
||||||
|
tags: "No"
|
||||||
|
torrentSize: 16.8 GiB
|
||||||
|
uploader: uploaderName
|
||||||
|
baseUrl: https://toonsfor.me/torrents/
|
||||||
|
torrentId: "1"
|
||||||
|
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