From 8b21630e8f56541ae75cfe0ead946dd3d2f1241c Mon Sep 17 00:00:00 2001 From: Markus Date: Thu, 31 Oct 2019 13:27:35 +0100 Subject: [PATCH] v3.5.1: serienliste nun alphabetisch komplett sortiert --- parameterManager.h | 2 +- programManager.cpp | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/parameterManager.h b/parameterManager.h index eb9f47b..9e8c607 100644 --- a/parameterManager.h +++ b/parameterManager.h @@ -63,7 +63,7 @@ struct Settings { proxy_ip = "127.0.0.1", languages = "GerDub,GerSub,Eng,", genaueHoster = "", - version = "3.5.0", + version = "3.5.1", defaultFileVersion="1.6", outputFilePath = "", default_checkPath = "", diff --git a/programManager.cpp b/programManager.cpp index e47f155..a84b02a 100644 --- a/programManager.cpp +++ b/programManager.cpp @@ -1173,7 +1173,7 @@ int ProgramManager::cleanUpSettingsAndCache(Settings *settings) int ProgramManager::searchModus_update(Settings *settings) { - Reply reply = pageManager.getServerRequest("https://s.to/serien"); + Reply reply = pageManager.getServerRequest("https://s.to/serien-alphabet"); if(reply.html == "-1") { if(settings->debugMode) std::cerr << ">>> Debug In " << __FUNCTION__ << ": getServerRequest function failed." << std::endl; @@ -1210,6 +1210,7 @@ int ProgramManager::searchModus_update(Settings *settings) while (getline(strstream, line)) { if(line.find(" title=\"") == std::string::npos) continue; + line.erase(line.find(" title="), line.find(">") - line.find(" title=")); //...\n|/serie/stream/2012-das-jahr-null"_weg_>2012 - Das Jahr Null\n... line = pageManager.replace(line, "\">", "|");