forked from markus/S_New4
v3.5.1: serienliste nun alphabetisch komplett sortiert
This commit is contained in:
parent
f3f125b562
commit
8b21630e8f
@ -63,7 +63,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.5.0",
|
version = "3.5.1",
|
||||||
defaultFileVersion="1.6",
|
defaultFileVersion="1.6",
|
||||||
outputFilePath = "",
|
outputFilePath = "",
|
||||||
default_checkPath = "",
|
default_checkPath = "",
|
||||||
|
@ -1173,7 +1173,7 @@ int ProgramManager::cleanUpSettingsAndCache(Settings *settings)
|
|||||||
|
|
||||||
int ProgramManager::searchModus_update(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(reply.html == "-1") {
|
||||||
if(settings->debugMode)
|
if(settings->debugMode)
|
||||||
std::cerr << ">>> Debug In " << __FUNCTION__ << ": getServerRequest function failed." << std::endl;
|
std::cerr << ">>> Debug In " << __FUNCTION__ << ": getServerRequest function failed." << std::endl;
|
||||||
@ -1210,6 +1210,7 @@ int ProgramManager::searchModus_update(Settings *settings)
|
|||||||
while (getline(strstream, line)) {
|
while (getline(strstream, line)) {
|
||||||
if(line.find(" title=\"") == std::string::npos)
|
if(line.find(" title=\"") == std::string::npos)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
line.erase(line.find(" title="), line.find(">") - line.find(" title="));
|
line.erase(line.find(" title="), line.find(">") - line.find(" title="));
|
||||||
//...\n|/serie/stream/2012-das-jahr-null"_weg_>2012 - Das Jahr Null</a>\n...
|
//...\n|/serie/stream/2012-das-jahr-null"_weg_>2012 - Das Jahr Null</a>\n...
|
||||||
line = pageManager.replace(line, "\">", "|");
|
line = pageManager.replace(line, "\">", "|");
|
||||||
|
Loading…
Reference in New Issue
Block a user