diff --git a/src/programManager.cpp b/src/programManager.cpp index 7893611..67faa04 100644 --- a/src/programManager.cpp +++ b/src/programManager.cpp @@ -1121,7 +1121,7 @@ int ProgramManager::searchModus(Settings *settings, std::string *saveTo, bool no } std::cout << " > " << parts.at(2) << "\t[" << parts.at(1).erase(0, 1) << "]" - << ( ( !settings->search_show_othernames || line[0] == '|') ? "" : "\t( " + parts.at(0) + " )" ) << std::endl; + << ( ( !settings->search_show_othernames || line[0] == '|') ? "" : (parts.at(0).length()) ? ("\t( " + parts.at(0) + " )") : "" ) << std::endl; //zähne hoch!! ///That Time I Got Reincarnated as a Slime|/tensei-shitara-slime-datta-ken|Tensei Shitara Slime Datta Ken|ANIME @@ -1939,6 +1939,8 @@ int ProgramManager::searchModus_update(Settings *settings) //...\n
  • 2012 - Das Jahr Null\n... serienListe = replace(serienListe, "
  • 2012 - Das Jahr Null\n... serienListe = replace(serienListe, "\" href=\"", "|"); //...\n|/serie /stream/2012-das-jahr-null" title="2012 - Das Jahr Null Stream anschauen">2012 - Das Jahr Null\n... @@ -1958,9 +1960,10 @@ int ProgramManager::searchModus_update(Settings *settings) line = replace(line, "", ""); //...\n|/serie/ stream/2012-das-jahr-null"_weg_>2012 - Das Jahr Null|\n... + if(line.find("=\"") == 0) + line.erase(0, 2); - - ///Nadia The Secret, Fushigi no Nadia|/nadia-zauberstein|Nadia und Zauberstein|seriento + ///Nadia The Secret, Fushigi no Nadia|/nadia-zauberstein|Nadia und Zauberstein|seriento serienListe += line + "|" + page.url + "\n"; } if(serienListe.length() > 0)