예제 #1
0
        public void Fetch(string url)
        {
            _playList.Clear();

            Match m = regexPlayList.Match(url);
            if ( m.Success && m.Groups[1].Success )
            {
                string feedUrl = string.Concat("http://gdata.youtube.com/feeds/api/playlists/", m.Groups[1].Value);
                RssManager rm = new RssManager(feedUrl);
                _playList.AddRange(rm.GetFeed());
            }
        }
예제 #2
0
        public void Fetch(string url)
        {
            _playList.Clear();

            Match m = regexPlayList.Match(url);

            if (m.Success && m.Groups[1].Success)
            {
                string     feedUrl = string.Concat("http://gdata.youtube.com/feeds/api/playlists/", m.Groups[1].Value);
                RssManager rm      = new RssManager(feedUrl);
                _playList.AddRange(rm.GetFeed());
            }
        }