fix(indexers): emp parse pattern id (#379)

This commit is contained in:
ze0s 2022-07-27 23:00:54 +02:00 committed by GitHub
parent 2b3fab28c1
commit 97f527dd81
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -46,7 +46,9 @@ irc:
parse: parse:
type: single type: single
lines: lines:
- pattern: '^(.*?) - Size: ([0-9]+?.*?) - Uploader: (.*?) - Tags: (.*?) - (https://.*torrents.php\?)id=(.*)$' - test:
- "Some long funny title - Size: 2.54 GiB - Uploader: uploader1 - Tags: tag1,tag2 - https://www.empornium.is/torrents.php?torrentid=000000"
- pattern: '(.*) - Size: (.*) - Uploader: (.*) - Tags: (.*) - (https:\/\/.*torrents\.php\?)torrentid=(.*)'
vars: vars:
- torrentName - torrentName
- torrentSize - torrentSize