fix(indexers): properly escape regex patterns (#448)

fix(indexers): properly escape regex
This commit is contained in:
ze0s 2022-08-31 16:30:37 +02:00 committed by GitHub
parent b4c3734bbd
commit 0ed2b1233d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View file

@ -51,7 +51,7 @@ parse:
lines:
- test:
- "[NEW] Some.Show.S08E20.EXTENDED.720p.BluRay.X264-GROUP [TV/720] https://scenehd.org/details.php?id=00000"
pattern: "\[NEW] (.*) \[([^\]]+)] (https?\:\/\/[^\/]+)\/.*[&\?]id=(\d+)"
pattern: '\[NEW] (.*) \[([^\]]+)] (https?\:\/\/[^\/]+)\/.*[&\?]id=(\d+)'
vars:
- torrentName
- category