mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 16:59: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:
|
- 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'
|
- 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:
|
expect:
|
||||||
|
announceTypeEnum: "Neuer Upload"
|
||||||
torrentName: 'Magic.S02E10.Ger.Eng.Sub.AAC.1080p.WEB.h264-ABC'
|
torrentName: 'Magic.S02E10.Ger.Eng.Sub.AAC.1080p.WEB.h264-ABC'
|
||||||
category: Anime Serien
|
category: Anime Serien
|
||||||
releaseTags: WebDL
|
releaseTags: WebDL
|
||||||
|
@ -71,6 +72,7 @@ irc:
|
||||||
uploader: NotAnonymous
|
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'
|
- 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:
|
expect:
|
||||||
|
announceTypeEnum: "Neuer Upload"
|
||||||
torrentName: 'The.Zero.S04.German.DL.DTS.1080p.BluRay.10bit.x265.Repack-ABC'
|
torrentName: 'The.Zero.S04.German.DL.DTS.1080p.BluRay.10bit.x265.Repack-ABC'
|
||||||
category: Anime Serien
|
category: Anime Serien
|
||||||
releaseTags: Encode
|
releaseTags: Encode
|
||||||
|
@ -83,6 +85,7 @@ irc:
|
||||||
uploader: Anonym
|
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'
|
- 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:
|
expect:
|
||||||
|
announceTypeEnum: "Neuer Upload"
|
||||||
torrentName: 'How.to.Train.2010.German.DL.AC3.1080p.BluRay.x264-ABC'
|
torrentName: 'How.to.Train.2010.German.DL.AC3.1080p.BluRay.x264-ABC'
|
||||||
category: Cartoon Filme
|
category: Cartoon Filme
|
||||||
releaseTags: Encode
|
releaseTags: Encode
|
||||||
|
@ -95,6 +98,7 @@ irc:
|
||||||
uploader: Anonym
|
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'
|
- 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:
|
expect:
|
||||||
|
announceTypeEnum: "Neuer Upload"
|
||||||
torrentName: 'Irgendein Testrelease ohne Schema'
|
torrentName: 'Irgendein Testrelease ohne Schema'
|
||||||
category: 'H-Manga / Doujinshi'
|
category: 'H-Manga / Doujinshi'
|
||||||
releaseTags: Digital
|
releaseTags: Digital
|
||||||
|
@ -105,8 +109,23 @@ irc:
|
||||||
baseUrl: https://animeworld.cx/
|
baseUrl: https://animeworld.cx/
|
||||||
torrentId: "00000"
|
torrentId: "00000"
|
||||||
uploader: Anonym
|
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:
|
vars:
|
||||||
|
- announceTypeEnum
|
||||||
- torrentName
|
- torrentName
|
||||||
- category
|
- category
|
||||||
- releaseTags
|
- releaseTags
|
||||||
|
@ -118,6 +137,13 @@ irc:
|
||||||
- torrentId
|
- torrentId
|
||||||
- uploader
|
- uploader
|
||||||
|
|
||||||
|
mappings:
|
||||||
|
announceTypeEnum:
|
||||||
|
"Neuer Upload":
|
||||||
|
announceType: NEW
|
||||||
|
"Torrent vorgestellt":
|
||||||
|
announceType: PROMO
|
||||||
|
|
||||||
match:
|
match:
|
||||||
infourl: "/torrents/{{ .torrentId }}"
|
infourl: "/torrents/{{ .torrentId }}"
|
||||||
torrenturl: "/torrent/download/{{ .torrentId }}.{{ .rss_key }}"
|
torrenturl: "/torrent/download/{{ .torrentId }}.{{ .rss_key }}"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue