diff --git a/CrawlerProcess/scrawler.cpp b/CrawlerProcess/scrawler.cpp index 8b30247..9d86735 100644 --- a/CrawlerProcess/scrawler.cpp +++ b/CrawlerProcess/scrawler.cpp @@ -601,6 +601,10 @@ bool SCrawler::saveFrameUrl(QWebFrame *frame) { title = Find(frame->documentElement(), "div", "class", "se_textView"); } + if(title.isNull()) + { + title = Find(frame->documentElement(), "h3", "class", "se_textarea"); + } if (title.toPlainText().isEmpty()==false) { str[E_DATA_TITLE] = title.toPlainText(); @@ -631,6 +635,8 @@ bool SCrawler::saveFrameUrl(QWebFrame *frame) QWebElement body = post.findFirst("div[class^='post-view pcol2 _param(1)']"); if(body.isNull()) body = post.findFirst("div[class*='pcol2 _param(1)']"); + if(body.isNull()) + body = Find(post, "class", "se_component_wrap sect_dsc __se_component_area"); if (body.toPlainText().isEmpty()==false) { str[E_DATA_DATA] = body.toPlainText();