From bb96bcde612287652ebbeffbae73a6758af7bcd6 Mon Sep 17 00:00:00 2001 From: Chris Plaatjes Date: Wed, 15 Feb 2023 16:33:57 -0500 Subject: [PATCH] Fixed bug deleting entire user variable --- VidDownload.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VidDownload.cs b/VidDownload.cs index 0980387..236c0f0 100644 --- a/VidDownload.cs +++ b/VidDownload.cs @@ -47,7 +47,7 @@ namespace TeleTok videoUser = videoUser.Replace(@"/", ""); string videoID = segmentedUri.Segments[3]; - string fixedUrl = "https://www.tiktok.com/" + videoUser + "/video/" + videoID + @"&id=" + videoID + @"&user=" + videoUser.Remove(0); + string fixedUrl = "https://www.tiktok.com/" + videoUser + "/video/" + videoID + @"&id=" + videoID + @"&user=" + videoUser.Remove(0, 1); string proxyLink = TeleTok.ptInstance + "/download?url=" + fixedUrl;