HOME 2 years ago
parent
commit
4fda946adb
2 changed files with 9 additions and 0 deletions
  1. 2 0
      BanTur.Core/Utility/Aria2Helper.cs
  2. 7 0
      BanTur.Tests/RssTests.cs

+ 2 - 0
BanTur.Core/Utility/Aria2Helper.cs

@@ -38,6 +38,8 @@ namespace BanTur.Core.Utility
         {
             if (Directory.Exists(downloadDirectory) == false) Directory.CreateDirectory(downloadDirectory);
 
+            //TODO: set --follow-torrent=mem for http torrent url
+
             var p = new Process
             {
                 StartInfo =

+ 7 - 0
BanTur.Tests/RssTests.cs

@@ -21,5 +21,12 @@ namespace BanTur.Tests
             var xml = HttpAccess.Get("http://dmhy.org/topics/rss/rss.xml");
             var entries = RssParser.Parse(xml);
         }
+
+        [Fact]
+        public void MiKanAniTest()
+        {
+            var xml = HttpAccess.Get("https://mikanani.me/RSS/Search?searchstr=60FPS");
+            var entries = RssParser.Parse(xml);
+        }
     }
 }