private ResponseArticleModel LoadSubDomainArticle(HtmlDocument document, BaseArticleInfoModel baseArticle) { ResponseArticleModel article = new ResponseArticleModel { Title = baseArticle.Title, PublishedDateTimeUtc = baseArticle.PublishedDateTimeUtc, Content = GenerateContent(document, "div", "p", "opennewstext", false) }; return(article); }
private ResponseArticleModel LoadMainArticle(HtmlDocument document, BaseArticleInfoModel baseArticle) { ResponseArticleModel article = new ResponseArticleModel { Title = baseArticle.Title, PublishedDateTimeUtc = baseArticle.PublishedDateTimeUtc, ParseDateTime = DateTime.UtcNow, Content = GenerateContent(document, "span", "p", "article-body") }; return(article); }