feat(indexers): mtv parse category from tags (#94)

This commit is contained in:
Ludvig Lundgren 2022-01-19 18:56:18 +01:00 committed by GitHub
parent 00bc8298ac
commit 9f3ca433b3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -48,12 +48,13 @@ parse:
lines:
- test:
- "TV.Show.2008.720p.BluRay.DTS.x264-TEST - Size: 6.56 GiB - Uploader: Test - Tags: autoup,h264,hd,dts.audio,bluray,720p,p2p.group.release,Test.release,hd.movie - https://www.morethantv.me/torrents.php?torrentid=000000"
pattern: '^(.*?) - Size: ([0-9]+?.*?) - Uploader: (.*?) - Tags: (.*) - (https?:\/\/.*torrents.php\?)torrentid=(.*)$'
pattern: '^(.*?) - Size: ([0-9]+?.*?) - Uploader: (.*?) - Tags: (.*(hd.episode|hd.season|sd.episode|sd.eason|sd.movies|hd.movie)) - (https?:\/\/.*torrents.php\?)torrentid=(.*)$'
vars:
- torrentName
- size
- uploader
- tags
- category
- baseUrl
- torrentId