private List <List <SongInfo> > ScrapeIf_AlbumPage(string wikipediaPage) { List <List <SongInfo> > listOfTables = new List <List <SongInfo> >(); var web = new HtmlWeb(); var doc = web.Load(wikipediaPage); string artistName = doc.DocumentNode.SelectSingleNode("//*[@class='contributor']").InnerText; foreach (HtmlNode table in doc.DocumentNode.SelectNodes("//*[@class='tracklist']")) { List <SongInfo> tableOfSongs = new List <SongInfo>(); HtmlNode tbody = table.SelectSingleNode("tbody"); HtmlNodeCollection rows = tbody.SelectNodes("tr"); //find rows of table tableOfSongs = ScraperUtility.GetSongInfos_Album(rows, artistName); listOfTables.Add(tableOfSongs); } return(listOfTables); }