Crawler.MovieCrawler.GetSongs C# (CSharp) Method

GetSongs() private method

private GetSongs ( string html ) : List
html string
return List
        private List<Songs> GetSongs(string html)
        {
            ImdbCrawler imdb = new ImdbCrawler();
            HtmlAgilityPack.HtmlDocument htmlDoc = new HtmlAgilityPack.HtmlDocument();
            htmlDoc.OptionFixNestedTags = true;
            htmlDoc.LoadHtml(html);
            if (htmlDoc.DocumentNode != null)
            {
                HtmlAgilityPack.HtmlNode bodyNode = htmlDoc.DocumentNode.SelectSingleNode("//body");
                if (bodyNode == null)
                {
                    Console.WriteLine("body node is null");
                }
                else
                {
                    return imdb.GetSongDetails(bodyNode);
                }
            }

            return null;
        }