Пример #1
0
        protected override Dictionary <string, string> GetInfo()
        {
            Dictionary <string, string> Info = new FC2Parse(ID, httpResult.SourceCode).Parse();

            if (Info.Count <= 0)
            {
                Logger.LogN($"{Jvedio.Language.Resources.Url}:{Url}");
            }
            else
            {
                Info.Add("id", ID);
                Info.Add("sourceurl", Url);
                Info.Add("source", "fc2adult");
                Task.Delay(Delay.SHORT_3).Wait();
            }
            return(Info);
        }
Пример #2
0
        protected override Dictionary <string, string> GetInfo()
        {
            Dictionary <string, string> Info = new FC2Parse(ID, Content).Parse();

            if (Info.Count <= 0)
            {
                Logger.LogN($"{Jvedio.Language.Resources.Url}:{Url}");
            }
            else if (Content.IndexOf("非常抱歉,此商品未在您的居住国家公开") > 0)
            {
                Logger.LogN("403".ToStatusMessage());
            }
            else
            {
                Info.Add("id", ID);
                Info.Add("sourceurl", Url);
                Info.Add("source", "fc2adult");
                Task.Delay(TASKDELAY_SHORT).Wait();
            }
            return(Info);
        }
Пример #3
0
        protected override Dictionary <string, string> GetInfo()
        {
            Dictionary <string, string> Info = new FC2Parse(ID, Content).Parse();

            if (Info.Count <= 0)
            {
                Logger.LogN($"地址:{Url},失败原因:信息解析失败");
            }
            else if (Content.IndexOf("非常抱歉,此商品未在您的居住国家公开") > 0)
            {
                Logger.LogN($"非常抱歉,此商品未在您的居住国家公开");
            }
            else
            {
                Info.Add("id", ID);
                Info.Add("sourceurl", Url);
                Info.Add("source", "fc2adult");
                Task.Delay(TASKDELAY_SHORT).Wait();
            }
            return(Info);
        }