Loading plugins/youtube/youtube.cpp +0 −3 Original line number Diff line number Diff line Loading @@ -277,9 +277,6 @@ namespace blogi { libhtmlpp::HtmlElement youmain("ul"); std::cout << json << std::endl; struct json_object *youindex; youindex = json_tokener_parse(json.c_str()); Loading src/blogi.cpp +7 −5 Original line number Diff line number Diff line Loading @@ -311,9 +311,12 @@ void blogi::Blogi::RequestEvent(libhttppp::HttpRequest *curreq,const int tid,ULO if(hip) std::cout <<"Request from: " << hip->at(0).getvalue() << " url: " << curreq->getRequestURL(); if(useragent) std::cout << " agent: " << useragent->at(0).getvalue(); if(useragent){ std::cout << " agent: "; for(libhttppp::HttpHeader::HeaderData::Values *cval=useragent->getfirstValue(); cval; cval=cval->nextvalue()){ std::cout << cval->getvalue() << " "; } } std::cout << std::endl; RETRY_REQUEST: Loading Loading @@ -413,7 +416,6 @@ RETRY_REQUEST: url+=api->getName(); if(strncmp(curreq->getRequestURL(),url.c_str(),url.length())==0){ if(api->Controller(tid,curreq,&index,sessid)){ std::cout << api->getName() << std::endl; return; } } Loading Loading
plugins/youtube/youtube.cpp +0 −3 Original line number Diff line number Diff line Loading @@ -277,9 +277,6 @@ namespace blogi { libhtmlpp::HtmlElement youmain("ul"); std::cout << json << std::endl; struct json_object *youindex; youindex = json_tokener_parse(json.c_str()); Loading
src/blogi.cpp +7 −5 Original line number Diff line number Diff line Loading @@ -311,9 +311,12 @@ void blogi::Blogi::RequestEvent(libhttppp::HttpRequest *curreq,const int tid,ULO if(hip) std::cout <<"Request from: " << hip->at(0).getvalue() << " url: " << curreq->getRequestURL(); if(useragent) std::cout << " agent: " << useragent->at(0).getvalue(); if(useragent){ std::cout << " agent: "; for(libhttppp::HttpHeader::HeaderData::Values *cval=useragent->getfirstValue(); cval; cval=cval->nextvalue()){ std::cout << cval->getvalue() << " "; } } std::cout << std::endl; RETRY_REQUEST: Loading Loading @@ -413,7 +416,6 @@ RETRY_REQUEST: url+=api->getName(); if(strncmp(curreq->getRequestURL(),url.c_str(),url.length())==0){ if(api->Controller(tid,curreq,&index,sessid)){ std::cout << api->getName() << std::endl; return; } } Loading