tweak(regex): Update Amazon Regex / Test Cases

This commit is contained in:
Seraphys
2025-09-03 18:04:07 -05:00
parent 44e1783c03
commit 19504ff52b

View File

@@ -1,5 +1,5 @@
name: Amazon Prime
pattern: \b(?:AMZN|(?:AMZN|AMAZON)(?=\s*.(?:WEB-?DL|WEBRIP)))\b
pattern: \b(?:AMZN|(?:AMAZON)(?=\s*.(?:WEB-?DL|WEBRIP|WEB)))\b
description: Amazon Prime Video, or simply Prime Video, is an American subscription
video on-demand over-the-top streaming and rental service of Amazon offered both
as a stand-alone service and as part of Amazon's Prime subscription.
@@ -8,17 +8,26 @@ tags:
- WEB-DL
tests:
- id: 1
input: Futurama.S03E01.Amazon Women in the Mood.1080p.AMZN.WEB-DL.DDP2.0.H.264-Yatogam1.mkv
input: The Amazon Accountant 2 2025 2160p AMZN WEB-DL DD+ 5.1 Atmos DV H.265-FLUX
expected: true
- id: 2
input: Futurama.S03E05.Amazon.Women.in.the.Mood.NF.WEB DL.DDP2.0.x264 CtrlSD.mkv
expected: false
- id: 3
input: Amazon.Women.on.the.Moon.1987.720p.BluRay.x264-HANDJOB.mkv
expected: false
input: The Amazon Accountant 2 2025 2160p Amazon WEBRIP DD+ 5.1 Atmos DV H.265-FLUX
expected: true
- id: 4
input: First.Contact.Lost.Tribe.of.the.Amazon.2016.1080p.AMZN.WEB-DL.DDP2.0.H.264-Q0SWeb.mkv
input: The.Amazon.Accountant.2.2025.2160p.Amazon.WEB.DD+.5.1.Atmos.DV.H.265-FLUX
expected: true
- id: 5
input: First.Contact.Lost.Tribe.of.the.Amazon.2016.1080p.WEB-DL.DDP2.0.H.264-Q0SWeb.mkv
expected: false
input: 'Star Trek: Picard Amazon S03 2160p AMZN WEB-DL DTS-HD MA 5.1 H.265-FLUX'
expected: true
- id: 6
input: 'Star Trek: Picard Amazon S03 2160p Amazon WEBRIP DTS-HD MA 5.1 H.265-FLUX'
expected: true
- id: 7
input: The.Terminal.List.Dark.Amazon.S01E04.THE.SOUND.OF.AMAZON.2160p.AMZN.WEB-DL.DDP5.1.HDR.H.265-FLUX.mkv
expected: true
- id: 8
input: The.Terminal.List.Dark.Amazon.S01E04.THE.SOUND.OF.AMAZON.2160p.Amazon.WEBRIP.DDP5.1.HDR.H.265-FLUX.mkv
expected: true
- id: 9
input: The.Terminal.List.Dark.Amazon.S01E04.THE.SOUND.OF.AMAZON.2160p.Amazon.WEB.DDP5.1.HDR.H.265-FLUX.mkv
expected: true