fix(indexers): tn fix category parsing (#370)

This commit is contained in:
ze0s 2022-07-23 15:53:38 +02:00 committed by GitHub
parent d56693cd33
commit 31441ff4c3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -44,7 +44,7 @@ parse:
lines:
- test:
- "{New Torrent} Name {Luke_EP--Wildstyle_-_Sump_Ting-(RNR002)-WEB-2016-OMA} Typ {Music|MP3} Pre {14 s}"
pattern: '\{New Torrent\} Name \{(.*)\} Typ \{(.*)\}(?: Pre \{(.*)\})?'
pattern: '\{New Torrent\} Name \{(.*)\} Typ \{(.+?)\}(?: Pre \{(.*)\})?'
vars:
- torrentName
- category