mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 16:59:12 +00:00
fix(indexers): STC parse resolution (#1489)
* fix(indexers): add resolution var for STC
This commit is contained in:
parent
facb5b25e5
commit
f26c33a961
1 changed files with 7 additions and 5 deletions
|
@ -51,22 +51,24 @@ irc:
|
|||
type: single
|
||||
lines:
|
||||
- tests:
|
||||
- line: Category [TV Show] Type [WEB-DL] Name [The best show S24E10 Jumped In 1080p AMZN WEB-DL DD+ 5.1 H.264-NTb] Freeleech [0%] Double Upload [No] Size [2.9 GB] Uploader [userone] Url [https://skipthecommericals.xyz/torrent/download/00000]
|
||||
- line: Category [TV Show] Type [WEB-DL] Name [Some Show S35E11 1080p DSNP WEB-DL DD+ 5.1 H.264-GROUP] Resolution [1080p] Freeleech [0%] Double Upload [No] Size [709.11 MB] Uploader [Seeder] Url [https://skipthecommericals.xyz/torrent/download/00000]
|
||||
expect:
|
||||
category: TV Show
|
||||
releaseTags: WEB-DL
|
||||
torrentName: The best show S24E10 Jumped In 1080p AMZN WEB-DL DD+ 5.1 H.264-NTb
|
||||
resolution: 1080p
|
||||
torrentName: Some Show S35E11 1080p DSNP WEB-DL DD+ 5.1 H.264-GROUP
|
||||
freeleechPercent: 0%
|
||||
tags: "No"
|
||||
torrentSize: 2.9 GB
|
||||
uploader: userone
|
||||
torrentSize: 709.11 MB
|
||||
uploader: Seeder
|
||||
baseUrl: https://skipthecommericals.xyz/
|
||||
torrentId: "00000"
|
||||
pattern: 'Category \[(.+)\] Type \[(.+)\] Name \[(.+?)\] Freeleech \[(.+)\] Double Upload \[(.+)\] Size \[(.+)\] Uploader \[(.+)\] Url \[(https?\:\/\/.+\/).+\/.+\/(\d+)\]'
|
||||
pattern: 'Category \[(.+)\] Type \[(.+)\] Name \[(.+?)\] Resolution \[(.+)\] Freeleech \[(.+)\] Double Upload \[(.+)\] Size \[(.+)\] Uploader \[(.+)\] Url \[(https?\:\/\/.+\/).+\/.+\/(\d+)\]'
|
||||
vars:
|
||||
- category
|
||||
- releaseTags
|
||||
- torrentName
|
||||
- resolution
|
||||
- freeleechPercent
|
||||
- tags
|
||||
- torrentSize
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue