Added datetime for logging
This commit is contained in:
		@@ -12,13 +12,15 @@ namespace TeleTok
 | 
				
			|||||||
            string url = videourl;
 | 
					            string url = videourl;
 | 
				
			||||||
            string proxyUrl;
 | 
					            string proxyUrl;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					            DateTime now =DateTime.Now;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            if(url.Contains("vm.tiktok.com"))
 | 
					            if(url.Contains("vm.tiktok.com"))
 | 
				
			||||||
            {
 | 
					            {
 | 
				
			||||||
                url = UnshortenUrl(url);
 | 
					                url = UnshortenUrl(url);
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            proxyUrl = TeleTok.ptInstance + "/download?url=" + 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;
 | 
					            return proxyUrl;
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user