forked from markus/S_New4
v6.3.2: fix s=" in search modus
This commit is contained in:
parent
6ead42c6c8
commit
b8e69cfd10
@ -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) << "]"
|
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!!
|
//zähne hoch!!
|
||||||
|
|
||||||
///That Time I Got Reincarnated as a Slime|/tensei-shitara-slime-datta-ken|Tensei Shitara Slime Datta Ken|ANIME
|
///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<li><a data-alternative-title href="/serie /stream/2012-das-jahr-null" title="2012 - Das Jahr Null Stream anschauen">2012 - Das Jahr Null</a>\n...
|
//...\n<li><a data-alternative-title href="/serie /stream/2012-das-jahr-null" title="2012 - Das Jahr Null Stream anschauen">2012 - Das Jahr Null</a>\n...
|
||||||
serienListe = replace(serienListe, "<li><a data-alternative-title", "");
|
serienListe = replace(serienListe, "<li><a data-alternative-title", "");
|
||||||
|
//replace s=\" in non anime pages...
|
||||||
|
serienListe = replace(serienListe, "s=\"", "");
|
||||||
//...\n" href="/serie /stream/2012-das-jahr-null" title="2012 - Das Jahr Null Stream anschauen">2012 - Das Jahr Null</a>\n...
|
//...\n" href="/serie /stream/2012-das-jahr-null" title="2012 - Das Jahr Null Stream anschauen">2012 - Das Jahr Null</a>\n...
|
||||||
serienListe = replace(serienListe, "\" href=\"", "|");
|
serienListe = replace(serienListe, "\" href=\"", "|");
|
||||||
//...\n|/serie /stream/2012-das-jahr-null" title="2012 - Das Jahr Null Stream anschauen">2012 - Das Jahr Null</a>\n...
|
//...\n|/serie /stream/2012-das-jahr-null" title="2012 - Das Jahr Null Stream anschauen">2012 - Das Jahr Null</a>\n...
|
||||||
@ -1958,9 +1960,10 @@ int ProgramManager::searchModus_update(Settings *settings)
|
|||||||
line = replace(line, "</a>", "");
|
line = replace(line, "</a>", "");
|
||||||
//...\n|/serie/ stream/2012-das-jahr-null"_weg_>2012 - Das Jahr Null|\n...
|
//...\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";
|
serienListe += line + "|" + page.url + "\n";
|
||||||
}
|
}
|
||||||
if(serienListe.length() > 0)
|
if(serienListe.length() > 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user