From eec1050e1723b484c3a74b782a4a4fd7950fe8d0 Mon Sep 17 00:00:00 2001 From: Chris Plaatjes Date: Wed, 15 Feb 2023 10:05:14 -0500 Subject: [PATCH] Added datetime for logging --- VidDownload.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/VidDownload.cs b/VidDownload.cs index a040f55..d653243 100644 --- a/VidDownload.cs +++ b/VidDownload.cs @@ -12,13 +12,15 @@ namespace TeleTok string url = videourl; string proxyUrl; + DateTime now =DateTime.Now; + if(url.Contains("vm.tiktok.com")) { url = UnshortenUrl(url); } proxyUrl = TeleTok.ptInstance + "/download?url=" + url; - Console.WriteLine("Video for " + url + " has been sent.."); + Console.WriteLine("[" + now.ToString() + "] " + "Video for " + url + " has been sent.."); return proxyUrl; }