private static string PrepareUrl(string url) {
var googleDriveMatch = Regex.Match(url, @"://drive\.google\.com/file/d/(\w+)", RegexOptions.IgnoreCase);
return googleDriveMatch.Success ? "https://drive.google.com/uc?export=download&id=" + googleDriveMatch.Groups[1].Value : url;
}