fix(indexers): HUNO fix parsing (#541)

This commit is contained in:
ze0s 2022-11-14 18:45:08 +01:00 committed by GitHub
parent 19c9b79496
commit 51b0883786
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,8 +1,8 @@
--- ---
#id: huno #id: huno
name: Huno name: Hawke-UNO
identifier: huno identifier: huno
description: Hawke-Uno (HUNO) is a private torrent tracker for MOVIES / TV. description: Hawke-UNO (HUNO) is a private torrent tracker for MOVIES / TV.
language: en-us language: en-us
urls: urls:
- https://hawke.uno - https://hawke.uno
@ -20,7 +20,7 @@ settings:
help: "Go to your profile, My Security / RSS Key (RID) and copy your Current RID" help: "Go to your profile, My Security / RSS Key (RID) and copy your Current RID"
irc: irc:
network: Hawke-Uno network: Hawke-UNO
server: irc.hawke.uno server: irc.hawke.uno
port: 6697 port: 6697
tls: true tls: true
@ -53,11 +53,10 @@ parse:
- test: - test:
- "New in [Movie]: Old Movie (1981) (1080p BluRay x265 SDR DD 2.0 English - group1) [4.5 GiB] [FL: No] [INTERNAL: Yes] [https://hawke.uno/torrents/0000] by: [anon]" - "New in [Movie]: Old Movie (1981) (1080p BluRay x265 SDR DD 2.0 English - group1) [4.5 GiB] [FL: No] [INTERNAL: Yes] [https://hawke.uno/torrents/0000] by: [anon]"
- "New in [TV]: Popular show (2022) S01E09 (1080p DSNP WEB-DL x265 SDR DDP Atmos 5.1 English - GROUP)[REPACK] [955.97 MiB] [FL: Yes] [INTERNAL: Yes] [https://hawke.uno/torrents/0000] by: [uploader]" - "New in [TV]: Popular show (2022) S01E09 (1080p DSNP WEB-DL x265 SDR DDP Atmos 5.1 English - GROUP)[REPACK] [955.97 MiB] [FL: Yes] [INTERNAL: Yes] [https://hawke.uno/torrents/0000] by: [uploader]"
pattern: 'New in \[(.*)\]: ((.*) \(\d+\)(?: S\d+E\d+)? \((.*)\))(?:\[(?:REPACK2|REPACK|PROPER)\])? \[(.*)\] \[FL: (Yes|No)\] \[Internal: (Yes|No)\] \[(https:\/\/.+)\/torrents\/(\d+)\] by: \[(.*)\]' pattern: 'New in \[(.+)\]: (.+)(?:\[(?:REPACK\d?|PROPER)\])? \[(.+)\] \[FL: (Yes|No)\] \[INTERNAL: (Yes|No)\] \[(https:\/\/.+)\/torrents\/(\d+)\] by: \[(.+)\]'
vars: vars:
- category - category
- torrentName - torrentName
- title
- torrentSize - torrentSize
- freeleech - freeleech
- internal - internal