Crawler.MovieCrawler.GetBollywoodHungamaPosters C# (CSharp) Method

GetBollywoodHungamaPosters() private method

private GetBollywoodHungamaPosters ( string html, string movieName, List &posterPath, string &thumbnailPath ) : List
html string
movieName string
posterPath List
thumbnailPath string
return List
        private List<string> GetBollywoodHungamaPosters(string html, string movieName, ref List<string> posterPath, ref string thumbnailPath)
        {
            ImdbCrawler imdb = new ImdbCrawler();
            posterPath = new List<string>();

            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.GetBollywoodHungamaMoviePosterDetails(bodyNode, movieName, ref posterPath, ref thumbnailPath);
                }
            }

            return null;
        }