RssTests.cs 786 B

1234567891011121314151617181920212223242526272829303132
  1. using System;
  2. using BanTur.Core.Rss;
  3. using BanTur.Core.Utility;
  4. using BanTur.Tests.Basic;
  5. using Xunit;
  6. namespace BanTur.Tests
  7. {
  8. public class RssTests : TestBase
  9. {
  10. [Fact]
  11. public void DmhyMirrorTest()
  12. {
  13. var xml = HttpAccess.Get("https://dmhy.anoneko.com/topics/rss/rss.xml");
  14. var entries = RssParser.Parse(xml);
  15. }
  16. [Fact]
  17. public void DmhyTest()
  18. {
  19. var xml = HttpAccess.Get("http://dmhy.org/topics/rss/rss.xml");
  20. var entries = RssParser.Parse(xml);
  21. }
  22. [Fact]
  23. public void MiKanAniTest()
  24. {
  25. var xml = HttpAccess.Get("https://mikanani.me/RSS/Search?searchstr=60FPS");
  26. var entries = RssParser.Parse(xml);
  27. }
  28. }
  29. }