Example #1
0
        public void ToListRubyistHotlinksUrl()
        {
            var service = new WebScraypingService();
            var result  = service.ToListRubyistHotlinksUrl().Result;

            Assert.IsTrue(result.Any());
            foreach (var item in result)
            {
                Console.WriteLine(item);
            }
        }
Example #2
0
        public void ToListTalks()
        {
            var service = new WebScraypingService();
            var url     = service.ToListRubyistHotlinksUrl().Result.FirstOrDefault();
            var result  = service.ToListTalks(url).Result;

            Assert.IsTrue(result.Any());
            foreach (var talk in result)
            {
                Console.WriteLine($"{talk.User}:{talk.Message}");
            }
        }