mirror of
https://github.com/idanoo/autobrr
synced 2025-07-22 16:29:12 +00:00
feat(indexers): implement AnimeWorld announce types (#1900)
This commit is contained in:
parent
0104ca4a28
commit
79f8a98e73
1 changed files with 27 additions and 1 deletions
|
@ -59,6 +59,7 @@ irc:
|
|||
- tests:
|
||||
- line: 'Neuer Upload: Magic.S02E10.Ger.Eng.Sub.AAC.1080p.WEB.h264-ABC [Kategorie: Anime Serien][Typ: WebDL][Auflösung: 1080p][Größe: 1.35 GB][FL: 100%] | https://animeworld.cx/torrents/00000 | Uploader: NotAnonymous'
|
||||
expect:
|
||||
announceTypeEnum: "Neuer Upload"
|
||||
torrentName: 'Magic.S02E10.Ger.Eng.Sub.AAC.1080p.WEB.h264-ABC'
|
||||
category: Anime Serien
|
||||
releaseTags: WebDL
|
||||
|
@ -71,6 +72,7 @@ irc:
|
|||
uploader: NotAnonymous
|
||||
- line: 'Neuer Upload: The.Zero.S04.German.DL.DTS.1080p.BluRay.10bit.x265.Repack-ABC [Kategorie: Anime Serien][Typ: Encode][Auflösung: 1080p][Größe: 17.28 GiB][FL: 100%][Vorgestellt] | https://animeworld.cx/torrents/00000 | Uploader: Anonym'
|
||||
expect:
|
||||
announceTypeEnum: "Neuer Upload"
|
||||
torrentName: 'The.Zero.S04.German.DL.DTS.1080p.BluRay.10bit.x265.Repack-ABC'
|
||||
category: Anime Serien
|
||||
releaseTags: Encode
|
||||
|
@ -83,6 +85,7 @@ irc:
|
|||
uploader: Anonym
|
||||
- line: 'Neuer Upload: How.to.Train.2010.German.DL.AC3.1080p.BluRay.x264-ABC [Kategorie: Cartoon Filme][Typ: Encode][Auflösung: 1080p][Größe: 3.45 GiB][FL: 0%] | https://animeworld.cx/torrents/00000 | Uploader: Anonym'
|
||||
expect:
|
||||
announceTypeEnum: "Neuer Upload"
|
||||
torrentName: 'How.to.Train.2010.German.DL.AC3.1080p.BluRay.x264-ABC'
|
||||
category: Cartoon Filme
|
||||
releaseTags: Encode
|
||||
|
@ -95,6 +98,7 @@ irc:
|
|||
uploader: Anonym
|
||||
- line: 'Neuer Upload: Irgendein Testrelease ohne Schema [Kategorie: H-Manga / Doujinshi][Typ: Digital][Auflösung: No Res][Größe: 673.21 MiB][FL: 0%] | https://animeworld.cx/torrents/00000 | Uploader: Anonym'
|
||||
expect:
|
||||
announceTypeEnum: "Neuer Upload"
|
||||
torrentName: 'Irgendein Testrelease ohne Schema'
|
||||
category: 'H-Manga / Doujinshi'
|
||||
releaseTags: Digital
|
||||
|
@ -105,8 +109,23 @@ irc:
|
|||
baseUrl: https://animeworld.cx/
|
||||
torrentId: "00000"
|
||||
uploader: Anonym
|
||||
pattern: 'Neuer Upload: (.+) \[Kategorie: (.+)\]\[Typ: (.+)\]\[Auflösung: (.+)\]\[Größe: (.+)\]\[FL: (.+)%\](?:\[(Vorgestellt)\])? \| (https?\:\/\/.*\/)torrents\/(\d+) \| Uploader: (.+)'
|
||||
- line: 'Torrent vorgestellt: The.Cinephile.2021.German.DL.FLAC.1080p.BluRay.10bit.x265-GROUP [Kategorie: Anime Filme][Typ: Encode][Auflösung: 1080p][Größe: 4.48 GiB] | http://animeworld.cx/torrents/00000'
|
||||
expect:
|
||||
announceTypeEnum: "Torrent vorgestellt"
|
||||
torrentName: 'The.Cinephile.2021.German.DL.FLAC.1080p.BluRay.10bit.x265-GROUP'
|
||||
category: Anime Filme
|
||||
releaseTags: Encode
|
||||
resolution: 1080p
|
||||
torrentSize: 4.48 GiB
|
||||
freeleechPercent: ""
|
||||
tags: ""
|
||||
baseUrl: http://animeworld.cx/
|
||||
torrentId: "00000"
|
||||
uploader: ""
|
||||
|
||||
pattern: '(Neuer Upload|Torrent vorgestellt): (.+) \[Kategorie: (.+)\]\[Typ: (.+)\]\[Auflösung: (.+)\]\[Größe: (.+?)\](?:\[FL: (.+)%\])?(?:\[(Vorgestellt)\])? \| (https?\:\/\/.*\/)torrents\/(\d+)(?: \| Uploader: (.+))?'
|
||||
vars:
|
||||
- announceTypeEnum
|
||||
- torrentName
|
||||
- category
|
||||
- releaseTags
|
||||
|
@ -118,6 +137,13 @@ irc:
|
|||
- torrentId
|
||||
- uploader
|
||||
|
||||
mappings:
|
||||
announceTypeEnum:
|
||||
"Neuer Upload":
|
||||
announceType: NEW
|
||||
"Torrent vorgestellt":
|
||||
announceType: PROMO
|
||||
|
||||
match:
|
||||
infourl: "/torrents/{{ .torrentId }}"
|
||||
torrenturl: "/torrent/download/{{ .torrentId }}.{{ .rss_key }}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue