예제 #1
0
        private static string GetTopProcess(string[] args)
        {
            var c = new Clawer();

            try
            {
                return(c.GetTopUri(int.Parse(args[0])).Result);
            }
            catch (Exception ex)
            {
                return(ex.Message);
            }
        }
예제 #2
0
        private static string GetCountryProcess(string[] args)
        {
            var c = new Clawer();

            try
            {
                return(c.GetCountryTopUri(args[0], 20).Result);
            }
            catch (Exception ex)
            {
                return(ex.Message);
            }
        }