forked from markus/S_New4
v4.0.4: fix new error through chanches on sto + add data to chanchelog file
This commit is contained in:
parent
ea02ed8cfc
commit
12dd6d62fd
25
Changelog.md
25
Changelog.md
@ -1,5 +1,30 @@
|
|||||||
## Changelog
|
## Changelog
|
||||||
|
|
||||||
|
#4.0.4
|
||||||
|
* Fix Error: Konnte Position von script async= nicht finden
|
||||||
|
|
||||||
|
#4.0.2/3
|
||||||
|
* Entferne /embed bei Vivo und ignoriere Groß-& Kleinschreib. Bei -l & -g
|
||||||
|
|
||||||
|
#4.0.1
|
||||||
|
* Behebe falsche Position von der 0 bei der Zeit im LogFile
|
||||||
|
|
||||||
|
#4.0.0
|
||||||
|
* Füge Architekture ARM v6 hinzu
|
||||||
|
|
||||||
|
#3.9.1/2/3
|
||||||
|
* Behebe Fehler bei der Replace Funktion + Farben bei der LogFile ausgabe
|
||||||
|
|
||||||
|
#3.9.0
|
||||||
|
* Neu: Möglichkeit, mehrere Dateien mit -o anzugeben
|
||||||
|
* Im DefaultFile: Schreibe nun, wenn nicht verändert mit -o Ausgabe ins LogFile
|
||||||
|
|
||||||
|
#3.8.0
|
||||||
|
* Log System
|
||||||
|
|
||||||
|
#3.6.3 -> 3.8
|
||||||
|
* SIEHE IN GIT COMMITS
|
||||||
|
|
||||||
### v3.6.2
|
### v3.6.2
|
||||||
* Füge ChangeLog Datei hinzu
|
* Füge ChangeLog Datei hinzu
|
||||||
|
|
||||||
|
@ -255,23 +255,28 @@ std::string PageManager::checkName(std::string Name)
|
|||||||
|
|
||||||
std::string PageManager::getLinks(std::string HTML)
|
std::string PageManager::getLinks(std::string HTML)
|
||||||
{
|
{
|
||||||
|
//Entderne alles vor den Links
|
||||||
size_t pos = HTML.find("<ul class=\"row\">");
|
size_t pos = HTML.find("<ul class=\"row\">");
|
||||||
if(pos == std::string::npos) {
|
if(pos == std::string::npos) {
|
||||||
std::cout << " => Error: Konnte Position von \"" << "<ul class=\"row\">" << " nicht finden" <<std::endl;
|
std::cout << " => Error: Konnte Position von \"" << "<ul class=\"row\">" << " nicht finden" <<std::endl;
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
|
|
||||||
HTML.erase(0,pos);
|
HTML.erase(0,pos);
|
||||||
|
|
||||||
pos = HTML.find("<script async=");
|
//Entferne alles nach den Links
|
||||||
|
//pos = HTML.find("<script async=");
|
||||||
|
pos = HTML.find("<script data-cfasync=\"");
|
||||||
if(pos == std::string::npos) {
|
if(pos == std::string::npos) {
|
||||||
std::cout << " => Error: Konnte Position von \"" << "<script async=" << "\" nicht finden" <<std::endl;
|
std::cout << " => Error: Konnte Position von \"" << "<script async=" << "\" nicht finden" <<std::endl;
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
|
|
||||||
HTML.erase(pos,HTML.length() - pos);
|
HTML.erase(pos,HTML.length() - pos);
|
||||||
|
|
||||||
|
//Erstezte alle NewLine Zeichen durch nichts => 1Ne Zeile
|
||||||
HTML = replace(HTML, "\n", ""); //HTML.replace("\n","").replace("</span>", "\n");
|
HTML = replace(HTML, "\n", ""); //HTML.replace("\n","").replace("</span>", "\n");
|
||||||
|
//Erstezte alle </span> Zeichen durch \n => 1 Hoster pro Zeil
|
||||||
HTML = replace(HTML, "</span>", "\n");
|
HTML = replace(HTML, "</span>", "\n");
|
||||||
|
//Greppe alle Zeilen mit Hoster
|
||||||
HTML = grep(HTML,"href=\"/redirect/");
|
HTML = grep(HTML,"href=\"/redirect/");
|
||||||
|
|
||||||
std::istringstream iStrStream( HTML + "\n" );
|
std::istringstream iStrStream( HTML + "\n" );
|
||||||
|
@ -91,7 +91,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 = "4.0.3",
|
version = "4.0.4",
|
||||||
defaultFileVersion="1.8",
|
defaultFileVersion="1.8",
|
||||||
default_checkPath = "",
|
default_checkPath = "",
|
||||||
default_Searchmuster = "S%Staffel%E%Folge%";
|
default_Searchmuster = "S%Staffel%E%Folge%";
|
||||||
|
Loading…
Reference in New Issue
Block a user