public static IEnumerable<List<FreeDocument>> GetMultiDataFromURL(string url) { var httpitem = new HttpItem {URL = url}; var helper = new HttpHelper(); HttpStatusCode statusCode; var doc2 = helper.GetHtml(httpitem, out statusCode); if (statusCode != HttpStatusCode.OK) yield break; if (doc2 == null) yield return new List<FreeDocument>(); var htmldoc = new HtmlDocument(); htmldoc.LoadHtml(doc2); foreach (var item in htmldoc.GetDataFromHtml()) { yield return item; } }