public static async Task FillChannelCookieNetAsync(IChannel channel)
        {
            switch (channel.Site)
            {
            case SiteType.Tapochek:

                TapochekSite fb = CommonFactory.CreateTapochekSite();
                channel.ChannelCookies = await fb.GetCookieNetAsync(channel).ConfigureAwait(false);

                break;

            default:
                throw new Exception(channel + " is not implemented yet");
            }
        }
Exemple #2
0
 public TapochekSiteTest()
 {
     tf = CommonFactory.CreateTapochekSite();
     db = CommonFactory.CreateSqLiteDatabase();
 }