コード例 #1
0
        public async Task FillChannelNetAsync()
        {
            var ch = ChannelFactory.CreateChannel(SiteType.Tapochek) as YouChannel;

            if (ch == null)
            {
                return;
            }
            ch.ID             = "27253";
            ch.ChannelCookies = db.ReadCookies(ch.Site);
            await tf.FillChannelNetAsync(ch).ConfigureAwait(false);

            Assert.IsTrue(ch.ChannelItems.Any());
        }