Beispiel #1
0
        internal void Handle(Video one_video, Seed seed)
        {
            if(one_video.Url!=null)
            {
                try
                {
                    string html = "";
                    Uri uri = new Uri(one_video.Url);
                    WebHandler webHandler = new WebHandler();
                    html = webHandler.GetResponseStr(uri, seed.Encoding);
                    if (html.Length > 200)
                    {
                        string title = Regex.Match(html, seed.Title_Reg, RegexOptions.Singleline).ToString() ;

                    }

                }
                catch (Exception)
                {
                    Console.WriteLine("Something worry with HandleHelper GetDetail function");
                }
            }
        }
Beispiel #2
0
 private static Seed SelectSeed(Video one_video, List<Seed> seed_list)
 {
     Seed seed = new Seed();
     return seed;
 }