v3.3.2 remove http error checking at gethtml function

This commit is contained in:
Markus 2019-10-21 18:16:57 +02:00
parent 5ab931c6db
commit 4cfdde076d
3 changed files with 4 additions and 3 deletions

View File

@ -58,7 +58,8 @@ Reply PageManager::getServerRequest(std::string Url, bool useCookies, std::strin
}

//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_PROXY, sock5Proxy.c_str() ); //Sock5Proxy für Curl
curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1L); //follows redirection

View File

@ -61,7 +61,7 @@ struct Settings {
proxy_ip = "127.0.0.1",
languages = "GerDub,GerSub,Eng",
genaueHoster = "",
version = "3.3.1",
version = "3.3.2",
defaultFileVersion="1.6",
outputFilePath = "",
default_checkPath = "",

View File

@ -718,7 +718,7 @@ int ProgramManager::infoModus(Settings *settings)
std::string nameInUrl = pageManager.checkName(settings->name);
if(nameInUrl == "-1") {
//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)
std::cerr << ">>> Debug In " << __FUNCTION__ << ": sucheNach_1_Serien function failed." << std::endl;
return 28;