mirror of
https://github.com/idanoo/autobrr
synced 2025-07-22 16:29:12 +00:00
feat(indexers): MAM filter VIP with release tags (#1932)
feat(indexers): MAM parse VIP as releaseTags
This commit is contained in:
parent
edd89f23e9
commit
50820e6374
1 changed files with 8 additions and 3 deletions
|
@ -61,7 +61,7 @@ irc:
|
|||
language: English
|
||||
baseUrl: https://www.myanonamouse.net/
|
||||
torrentId: "000000"
|
||||
freeleech: ""
|
||||
releaseTags: ""
|
||||
- line: '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'
|
||||
expect:
|
||||
torrentName: Some famous book
|
||||
|
@ -72,7 +72,7 @@ irc:
|
|||
language: English
|
||||
baseUrl: https://www.myanonamouse.net/
|
||||
torrentId: "000000"
|
||||
freeleech: VIP
|
||||
releaseTags: VIP
|
||||
pattern: 'New Torrent: (.*) By: (.*) Category: \( (.*) \) Size: \( (.*) \) Filetype: \( (.*) \) Language: \( (.*) \) Link: \( (https?\:\/\/[^\/]+\/).*?(\d+)\s*\)\s*(VIP)?'
|
||||
vars:
|
||||
- torrentName
|
||||
|
@ -83,7 +83,12 @@ irc:
|
|||
- language
|
||||
- baseUrl
|
||||
- torrentId
|
||||
- freeleech
|
||||
- releaseTags
|
||||
|
||||
mappings:
|
||||
releaseTags:
|
||||
"VIP":
|
||||
freeleech: VIP
|
||||
|
||||
match:
|
||||
infourl: "/t/{{ .torrentId }}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue