feat(indexers): DigitalCore support tags (#1090)

This commit is contained in:
ze0s 2023-09-08 23:13:11 +02:00 committed by GitHub
parent 3d64ed150a
commit 5b01aa14b7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -59,12 +59,14 @@ irc:
lines: lines:
- test: - test:
- "NEW TORRENT in Movies/XviD :: This.is.my.Movie.2019.BRRip.XviD.AC3-iND :: https://digitalcore.club/api/v1/torrents/download/00000" - "NEW TORRENT in Movies/XviD :: This.is.my.Movie.2019.BRRip.XviD.AC3-iND :: https://digitalcore.club/api/v1/torrents/download/00000"
pattern: 'NEW TORRENT in (.+) :: (.+) :: (https:\/\/.+\/).+\/([0-9a-zA-Z]+)' - "NEW TORRENT in Movies/XviD :: This.is.my.Movie.2019.BRRip.XviD.AC3-iND :: https://digitalcore.club/api/v1/torrents/download/00000 :: [p2p,unrar]"
pattern: 'NEW TORRENT in (.+) :: (.+) :: (https:\/\/.+\/).+\/([0-9a-zA-Z]+)(?: :: \[(.+)\])?'
vars: vars:
- category - category
- torrentName - torrentName
- baseUrl - baseUrl
- torrentId - torrentId
- tags
match: match:
infourl: "/torrent/{{ .torrentId }}" infourl: "/torrent/{{ .torrentId }}"