mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 16:59: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
|
language: English
|
||||||
baseUrl: https://www.myanonamouse.net/
|
baseUrl: https://www.myanonamouse.net/
|
||||||
torrentId: "000000"
|
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'
|
- 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:
|
expect:
|
||||||
torrentName: Some famous book
|
torrentName: Some famous book
|
||||||
|
@ -72,7 +72,7 @@ irc:
|
||||||
language: English
|
language: English
|
||||||
baseUrl: https://www.myanonamouse.net/
|
baseUrl: https://www.myanonamouse.net/
|
||||||
torrentId: "000000"
|
torrentId: "000000"
|
||||||
freeleech: VIP
|
releaseTags: VIP
|
||||||
pattern: 'New Torrent: (.*) By: (.*) Category: \( (.*) \) Size: \( (.*) \) Filetype: \( (.*) \) Language: \( (.*) \) Link: \( (https?\:\/\/[^\/]+\/).*?(\d+)\s*\)\s*(VIP)?'
|
pattern: 'New Torrent: (.*) By: (.*) Category: \( (.*) \) Size: \( (.*) \) Filetype: \( (.*) \) Language: \( (.*) \) Link: \( (https?\:\/\/[^\/]+\/).*?(\d+)\s*\)\s*(VIP)?'
|
||||||
vars:
|
vars:
|
||||||
- torrentName
|
- torrentName
|
||||||
|
@ -83,7 +83,12 @@ irc:
|
||||||
- language
|
- language
|
||||||
- baseUrl
|
- baseUrl
|
||||||
- torrentId
|
- torrentId
|
||||||
- freeleech
|
- releaseTags
|
||||||
|
|
||||||
|
mappings:
|
||||||
|
releaseTags:
|
||||||
|
"VIP":
|
||||||
|
freeleech: VIP
|
||||||
|
|
||||||
match:
|
match:
|
||||||
infourl: "/t/{{ .torrentId }}"
|
infourl: "/t/{{ .torrentId }}"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue