Compare commits

...

2 Commits

Author SHA1 Message Date
Chris Plaatjes
bb96bcde61 Fixed bug deleting entire user variable
All checks were successful
continuous-integration/drone/push Build is passing
2023-02-15 16:33:57 -05:00
Chris Plaatjes
15416e3728 Fixed log date 2023-02-15 16:33:45 -05:00
2 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@ namespace TeleTok
else else
{ {
TelegramListener listener = new TelegramListener(); TelegramListener listener = new TelegramListener();
Console.WriteLine("Now listening..."); LogMessage("Now listening...");
listener.RunListener(); listener.RunListener();
} }

View File

@ -47,7 +47,7 @@ namespace TeleTok
videoUser = videoUser.Replace(@"/", ""); videoUser = videoUser.Replace(@"/", "");
string videoID = segmentedUri.Segments[3]; 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; string proxyLink = TeleTok.ptInstance + "/download?url=" + fixedUrl;