From 936b14025c90719bfdc45bcb3b625b6abdcf9130 Mon Sep 17 00:00:00 2001 From: lay295 Date: Wed, 6 Sep 2023 21:06:17 -0500 Subject: [PATCH] Update clip regex --- KickDownloader/Form1.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/KickDownloader/Form1.cs b/KickDownloader/Form1.cs index 9c343db..e511a86 100644 --- a/KickDownloader/Form1.cs +++ b/KickDownloader/Form1.cs @@ -30,7 +30,7 @@ private async void btnInfo_Click(object sender, EventArgs e) return; } - string clipPattern = @"https://kick\.com/.*\?clip=(?\d+)"; + string clipPattern = @"https://kick\.com/.*\?clip=(?[^&\s]+)"; Regex clipRegex = new Regex(clipPattern); string videoPattern = @"https://kick\.com/video/(?[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})"; Regex videoRegex = new Regex(videoPattern);