From 027f2cf262b3e24507dce52a14334106c65ff0e4 Mon Sep 17 00:00:00 2001 From: KoalaBear Date: Mon, 13 Jul 2020 15:59:36 +0200 Subject: [PATCH] - Add another chinese header --- OpenDirectoryDownloader/DirectoryParser.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenDirectoryDownloader/DirectoryParser.cs b/OpenDirectoryDownloader/DirectoryParser.cs index 3cd4d613..992f0bae 100644 --- a/OpenDirectoryDownloader/DirectoryParser.cs +++ b/OpenDirectoryDownloader/DirectoryParser.cs @@ -1991,7 +1991,7 @@ private static HeaderInfo GetHeaderInfo(IElement header) headerName = Regex.Replace(headerName, @"[^a-zA-Z0-9\s一-龥]", string.Empty); - if (headerName == "last modified" || headerName == "modified" || headerName.Contains("date") || headerName.Contains("last modification") || headerName.Contains("time") || headerName.Contains("修改时间")) + if (headerName == "last modified" || headerName == "modified" || headerName.Contains("date") || headerName.Contains("last modification") || headerName.Contains("time") || headerName.Contains("修改时间") || headerName.Contains("修改日期")) { headerInfo.Type = HeaderType.Modified; }