forked from markus/S_New4
v3.3.2 remove http error checking at gethtml function
This commit is contained in:
parent
5ab931c6db
commit
4cfdde076d
@ -58,7 +58,8 @@ Reply PageManager::getServerRequest(std::string Url, bool useCookies, std::strin
|
|||||||
}
|
}
|
||||||
|
|
||||||
//Settings
|
//Settings
|
||||||
curl_easy_setopt(curl, CURLOPT_FAILONERROR, true); // html errors to errorcode res
|
//curl_easy_setopt(curl, CURLOPT_FAILONERROR, true); // html errors to errorcode res
|
||||||
|
|
||||||
curl_easy_setopt(curl, CURLOPT_URL, Url.c_str()); //Url für Curl
|
curl_easy_setopt(curl, CURLOPT_URL, Url.c_str()); //Url für Curl
|
||||||
curl_easy_setopt(curl, CURLOPT_PROXY, sock5Proxy.c_str() ); //Sock5Proxy für Curl
|
curl_easy_setopt(curl, CURLOPT_PROXY, sock5Proxy.c_str() ); //Sock5Proxy für Curl
|
||||||
curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1L); //follows redirection
|
curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1L); //follows redirection
|
||||||
|
@ -61,7 +61,7 @@ struct Settings {
|
|||||||
proxy_ip = "127.0.0.1",
|
proxy_ip = "127.0.0.1",
|
||||||
languages = "GerDub,GerSub,Eng",
|
languages = "GerDub,GerSub,Eng",
|
||||||
genaueHoster = "",
|
genaueHoster = "",
|
||||||
version = "3.3.1",
|
version = "3.3.2",
|
||||||
defaultFileVersion="1.6",
|
defaultFileVersion="1.6",
|
||||||
outputFilePath = "",
|
outputFilePath = "",
|
||||||
default_checkPath = "",
|
default_checkPath = "",
|
||||||
|
@ -718,7 +718,7 @@ int ProgramManager::infoModus(Settings *settings)
|
|||||||
std::string nameInUrl = pageManager.checkName(settings->name);
|
std::string nameInUrl = pageManager.checkName(settings->name);
|
||||||
if(nameInUrl == "-1") {
|
if(nameInUrl == "-1") {
|
||||||
//Wenn nicht, dann fühe noch eine Suche nach ähnlichen durch.
|
//Wenn nicht, dann fühe noch eine Suche nach ähnlichen durch.
|
||||||
if( sucheNach_1_Serien(settings, nameInUrl) != 0) {
|
if( sucheNach_1_Serien(settings, pageManager, nameInUrl) != 0) {
|
||||||
if(settings->debugMode)
|
if(settings->debugMode)
|
||||||
std::cerr << ">>> Debug In " << __FUNCTION__ << ": sucheNach_1_Serien function failed." << std::endl;
|
std::cerr << ">>> Debug In " << __FUNCTION__ << ": sucheNach_1_Serien function failed." << std::endl;
|
||||||
return 28;
|
return 28;
|
||||||
|
Loading…
Reference in New Issue
Block a user