feat(indexers): btn improve parsing (#371)

* feat(indexers): btn improve parsing
This commit is contained in:
ze0s 2022-07-23 16:47:15 +02:00 committed by GitHub
parent 31441ff4c3
commit 4f3091a4a7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 34 additions and 11 deletions

View file

@ -70,12 +70,11 @@ parse:
- torrentName
- test:
- "[ Title: S06E07 ] [ Series: The Show ]"
pattern: '^\[ Title: (.*) \] \[ Series: (.*) \]'
pattern: '^\[ Title: .* \] \[ Series: (.*) \]'
vars:
- title
- name1
- test:
- "[ 2010 ] [ Episode ] [ MKV | x264 | WEB ] [ Uploader: Uploader1 ]"
- "[ 2010 ] [ Episode ] [ MKV | x264 | WEB | P2P ] [ Uploader: Uploader1 ]"
pattern: '^(?:\[ (\d+) \] )?\[ (.*) \] \[ (.*) \] \[ Uploader: (.*?) \](?: \[ Pretime: (.*) \])?'
vars:
- year