Fixed bug deleting entire user variable
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Chris Plaatjes 2023-02-15 16:33:57 -05:00
parent 15416e3728
commit bb96bcde61

View File

@ -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;