diff --git a/OpenDirectoryDownloader.Tests/DirectoryParserTests.cs b/OpenDirectoryDownloader.Tests/DirectoryParserTests.cs
index dbbeaf4b..5e0332fe 100644
--- a/OpenDirectoryDownloader.Tests/DirectoryParserTests.cs
+++ b/OpenDirectoryDownloader.Tests/DirectoryParserTests.cs
@@ -2639,5 +2639,34 @@ public async Task TestDirectoryListing86bAsync()
Assert.Equal("Bangla New_Latest Natok March 2013 - Binodoni Kinba Kobi %28HQ%29 by - %5BMim%2CMilon%5D-thumb.jpg", webDirectory.Files[0].FileName);
Assert.Equal(21094, webDirectory.Files[0].FileSize);
}
+
+ ///
+ /// Url: http://thiscatis.online/shared/
+ ///
+ [Fact]
+ public async Task TestDirectoryListing87aAsync()
+ {
+ WebDirectory webDirectory = await ParseHtml(GetSample());
+
+ Assert.Equal("ROOT", webDirectory.Name);
+ Assert.Equal(6, webDirectory.Subdirectories.Count);
+ Assert.Equal("Audio", webDirectory.Subdirectories[0].Name);
+ Assert.Empty(webDirectory.Files);
+ }
+
+ ///
+ /// Url: http://thiscatis.online/shared/Books/Academic%20Papers/
+ ///
+ [Fact]
+ public async Task TestDirectoryListing87bAsync()
+ {
+ WebDirectory webDirectory = await ParseHtml(GetSample());
+
+ Assert.Equal("ROOT", webDirectory.Name);
+ Assert.Empty(webDirectory.Subdirectories);
+ Assert.Equal(32, webDirectory.Files.Count);
+ Assert.Equal("10.0000@newleftreview.org@3150.pdf", webDirectory.Files[0].FileName);
+ Assert.Equal(665600, webDirectory.Files[0].FileSize);
+ }
}
}
\ No newline at end of file
diff --git a/OpenDirectoryDownloader.Tests/Samples/DirectoryListing87a.html.dat b/OpenDirectoryDownloader.Tests/Samples/DirectoryListing87a.html.dat
new file mode 100644
index 00000000..4baf7a34
--- /dev/null
+++ b/OpenDirectoryDownloader.Tests/Samples/DirectoryListing87a.html.dat
@@ -0,0 +1,18 @@
+
+
+
+
+
+
+Index of /shared/
+Index of /shared/
+
diff --git a/OpenDirectoryDownloader.Tests/Samples/DirectoryListing87b.html.dat b/OpenDirectoryDownloader.Tests/Samples/DirectoryListing87b.html.dat
new file mode 100644
index 00000000..6cd8fb7b
--- /dev/null
+++ b/OpenDirectoryDownloader.Tests/Samples/DirectoryListing87b.html.dat
@@ -0,0 +1,44 @@
+
+
+
+
+
+
+Index of /shared/Books/Academic Papers/
+Index of /shared/Books/Academic Papers/
+