Fixed bug deleting entire user variable
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Chris Plaatjes 2023-02-15 16:33:57 -05:00
parent 15416e3728
commit bb96bcde61
1 changed files with 1 additions and 1 deletions

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;