Exemple #1
0
        protected override Dictionary <string, string> GetInfo()
        {
            Dictionary <string, string> Info = new Jav321Parse(ID, httpResult.SourceCode).Parse();

            if (Info.Count > 0)
            {
                Info.Add("id", ID);
                Info.Add("sourceurl", Url);
                Info.Add("source", "JAV321");
                Task.Delay(Delay.MEDIUM).Wait();
            }
            return(Info);
        }
Exemple #2
0
        protected override Dictionary <string, string> GetInfo()
        {
            Dictionary <string, string> Info = new Jav321Parse(ID, Content).Parse();

            if (Info.Count <= 0)
            {
                Console.WriteLine($"{Jvedio.Language.Resources.Url}:{Url}"); resultMessage = $"{Jvedio.Language.Resources.Url}:{Url},{Jvedio.Language.Resources.Reason}:{Jvedio.Language.Resources.ParseFail}!"; Logger.LogN(resultMessage);
            }
            else
            {
                Info.Add("sourceurl", Url);
                Info.Add("source", "jav321");
                Task.Delay(TASKDELAY_MEDIUM).Wait();
            }
            return(Info);
        }
Exemple #3
0
        protected override Dictionary <string, string> GetInfo()
        {
            Dictionary <string, string> Info = new Jav321Parse(ID, Content).Parse();

            if (Info.Count <= 0)
            {
                Console.WriteLine($"解析失败:{Url}"); resultMessage = $"地址:{Url},失败原因:无法解析!"; Logger.LogN(resultMessage);
            }
            else
            {
                Info.Add("sourceurl", Url);
                Info.Add("source", "jav321");
                Task.Delay(TASKDELAY_MEDIUM).Wait();
            }
            return(Info);
        }
Exemple #4
0
        protected override Dictionary <string, string> GetInfo()
        {
            Dictionary <string, string> Info = new Dictionary <string, string>();

            Info = new Jav321Parse(ID, Content).Parse();
            if (Info.Count <= 0)
            {
                Console.WriteLine($"解析失败:{Url}"); resultMessage = "Parse Fail=>Library"; Logger.LogN($"URL={Url},Message-{resultMessage}");
            }
            else
            {
                Info.Add("sourceurl", Url);
                Info.Add("source", "jav321");
                Task.Delay(TASKDELAY_MEDIUM).Wait();
            }
            return(Info);
        }