Beispiel #1
0
        private static void GetBoxerDetails(ScrapeBoxer nBoxer)
        {
            nBoxer.FullName = GetBoxer_Name();

            nBoxer.DateOfBirth = GetBoxer_DateOfBirth();
            nBoxer.Weight = GetBoxer_Weight();

            nBoxer.Won = GetBoxer_Won();
            nBoxer.KO = GetBoxer_KO();
            nBoxer.Lost = GetBoxer_Lost();
            nBoxer.Drawn = GetBoxer_Drawn();
        }
Beispiel #2
0
        public static ScrapeBoxer ScrapeBoxerDetails(this string strURL)
        {
            var nBoxer = new ScrapeBoxer();
            if (GetWebRequestSuccessful(strURL))
            {
                GetBoxerDetails(nBoxer);
                nBoxer.Success = true;

                return nBoxer;
            }

            nBoxer.Success = false;
            return nBoxer;
        }