git-svn-id: svn://192.168.0.12/source@26 8346c931-da38-4b9b-9d4c-e48b93cbd075
This commit is contained in:
@@ -17,9 +17,14 @@ QString SNaverBlogManage::makeGetListQuery(QString _str,QDate _date)
|
||||
//http://cafeblog.search.naver.com/search.naver?where=post&sm=tab_pge&query=%EC%95%84%EC%9D%B4%ED%8F%B0&st=date&date_option=6&date_from=20131103&date_to=20131103&dup_remove=1&post_blogurl=&post_blogurl_without=&srchby=all&nso=so%3Add%2Cp%3Afrom20131103to20131103&ie=utf8&start=11
|
||||
str = "http://cafeblog.search.naver.com/search.naver?where=post&sm=tab_pge&query=";
|
||||
str += EncodetoUtf8(_str,true);
|
||||
str += "&st=date&date_option=6&date_from=" + strDate + "&date_to=" + strDate ;
|
||||
//str += "&st=date&date_option=6&date_from=" + strDate + "&date_to=" + strDate ;
|
||||
str += "&st=date&date_option=6&date_from=";
|
||||
str += strDate;
|
||||
str += "&date_to=";
|
||||
str += strDate ;
|
||||
str += "&dup_remove=1&post_blogurl=&post_blogurl_without=&srchby=all&nso=so%3Add%2Cp%3Afrom";
|
||||
str += strDate + "to" + strDate +"&ie=utf8&start=" + QString::number(m_ncList);
|
||||
str += strDate + "to" + strDate +"&ie=utf8&start=";
|
||||
str += QString::number(m_ncList);
|
||||
return str;
|
||||
}
|
||||
|
||||
@@ -54,7 +59,7 @@ void SNaverBlogManage::processFinished(QProcess *pPro,QString _strOut)
|
||||
m_bLast = true;
|
||||
m_strListURL.clear();
|
||||
QSqlQuery query;
|
||||
if(query.exec("SELECT URL FROM " + C_TABLE_URL + QString::number(m_nUrlTable) + " where ERROR is null"))
|
||||
if(query.exec("SELECT ARTICLE_URL FROM " + C_TABLE_URL + QString::number(m_nUrlTable) + " where ERROR is null"))
|
||||
{
|
||||
m_pMain->InsertLog(m_nID,query.lastError().text());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user