rudimentary filename format filtering
This commit is contained in:
parent
4e2b15ecec
commit
799eac006a
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user