네이버 블로그 smart 3.0 관련 수정

git-svn-id: svn://192.168.0.12/source@237 8346c931-da38-4b9b-9d4c-e48b93cbd075
This commit is contained in:
admin
2015-12-31 04:41:04 +00:00
parent c4a3ace018
commit 7994b43baa

View File

@@ -628,8 +628,9 @@ bool SCrawler::saveFrameUrl(QWebFrame *frame)
{
//QWebElement body = Find(post,"div","class","post-view pcol2 _param(1)");
//QWebElement body = post.findFirst("div[class^='post-view pcol2 _param(1)']");
QWebElement body = post.findFirst("div[class*='pcol2 _param(1)']");
QWebElement body = post.findFirst("div[class^='post-view pcol2 _param(1)']");
if(body.isNull())
body = post.findFirst("div[class*='pcol2 _param(1)']");
if (body.toPlainText().isEmpty()==false)
{
str[E_DATA_DATA] = body.toPlainText();