feat(indexers): add mam (#241)

* feat(indexers): add mam

* docs: add mam
This commit is contained in:
Ludvig Lundgren 2022-04-12 21:11:57 +02:00 committed by GitHub
parent 8592787b8b
commit 2dbbd9751b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 62 additions and 0 deletions

View file

@ -37,6 +37,7 @@ Is your tracker missing? Add an issue to request it.
* HDB
* HD-Torrents
* IPTorrents
* MyAnonamouse
* Milkie
* MoreThanTV
* Nebulance

View file

@ -0,0 +1,61 @@
---
#id: tracker01
name: MyAnonamouse
identifier: myanonamouse
description: MyAnonaMouse (MAM) is a large ebook and audiobook tracker.
language: en-us
urls:
- https://www.myanonamouse.net
privacy: private
protocol: torrent
supports:
- irc
- rss
source: custom
settings:
- name: cookie
type: secret
label: Cookie (mam_id)
help: "Check how to get cookies in your browser and find the mam_id cookie. Changes monthly"
irc:
network: MyAnonamouse
server: irc.myanonamouse.net
port: 6697
tls: true
channels:
- "#announce"
announcers:
- MouseBot
settings:
- name: nickserv.account
type: text
required: true
label: NickServ Account
help: NickServ account. Make sure to group your user and bot. Eg. user_bot
- name: nickserv.password
type: secret
required: true
label: NickServ Password
help: NickServ password
parse:
type: single
lines:
- test:
- "New Torrent: Some famous book By: Author name Category: ( Ebooks - Science Fiction ) Size: ( 1.00 MiB ) Filetype: ( epub, mobi ) Language: ( English ) Link: ( https://www.myanonamouse.net/t/000000 )"
- "New Torrent: Some famous book By: Author name Category: ( Ebooks - Science Fiction ) Size: ( 2.11 MiB ) Filetype: ( epub, mobi ) Language: ( English ) Link: ( https://www.myanonamouse.net/t/000000 ) VIP"
pattern: 'New Torrent: (.*) By: (.*) Category: \( (.*) \) Size: \( (.*) \) Filetype: \( (.*) \) Language: \( (.*) \) Link: \( (https?\:\/\/[^\/]+\/).*?(\d+)\s*\)\s*(VIP)?'
vars:
- torrentName
- author
- category
- torrentSize
- tags
- language
- baseUrl
- torrentId
- freeleech
match:
torrenturl: "{{ .baseUrl }}tor/download.php?tid={{ .torrentId }}"