mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 08:49:13 +00:00
feat(indexers): btn improve parsing (#371)
* feat(indexers): btn improve parsing
This commit is contained in:
parent
31441ff4c3
commit
4f3091a4a7
4 changed files with 34 additions and 11 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue