diff --git a/Program.cs b/Program.cs index 15293d4..6d63ee0 100644 --- a/Program.cs +++ b/Program.cs @@ -28,6 +28,11 @@ { ext = probableFilename.Substring(probableFilename.LastIndexOf('.')); } + foreach(char c in "'\":\\?/") + { + title = title.Replace(c, ' '); + } + Console.WriteLine($"{title}, {attachmentLink}"); var downloadPath = Path.Combine(feed.OutputDir, title + ext);