diff --git a/src/parameterManager.h b/src/parameterManager.h index 61b7dba..cb7cd7d 100644 --- a/src/parameterManager.h +++ b/src/parameterManager.h @@ -91,7 +91,7 @@ struct Settings { proxy_ip = "127.0.0.1", languages = "GerDub,GerSub,Eng,", genaueHoster = "", - version = "4.0.1", + version = "4.0.2", defaultFileVersion="1.8", default_checkPath = "", default_Searchmuster = "S%Staffel%E%Folge%"; diff --git a/src/programManager.cpp b/src/programManager.cpp index 9d0214d..4d00d51 100644 --- a/src/programManager.cpp +++ b/src/programManager.cpp @@ -130,6 +130,9 @@ void * threadFunction(void * data) { // get NO-Redirect Link after getUrlAfterRedirect Function } else { + // für Vivo... + newUrl = replace(newUrl, "/embed/", "/"); + myThreadData->returnValue = " => " + folgenID + ( (folgenID == "") ? "" : ": " ) + green + newUrl + clearColor; if(myThreadData->settings->outputFilePaths.size() != 0) { if(myThreadData->pageManager->writeToFile(myThreadData->settings->outputFilePaths,folgenID + ( (folgenID == "") ? "" : ": " ) + newUrl) != 0) { @@ -1537,6 +1540,9 @@ int ProgramManager::convertLink(std::string redirectLink, AccountManager * accou return 0; //sonst war die umwandlung erfolgreich } else { + // für Vivo... + newUrl = replace(newUrl, "/embed/", "/"); + std::cout << " => " << folgenID << ( (folgenID == "") ? "" : ": " ) << green << newUrl << ((settings->colorless) ? "" : "\033[0m") << std::endl; if(settings->outputFilePaths.size() != 0) if(pageManager.writeToFile(settings->outputFilePaths,folgenID + ( (folgenID == "") ? "" : ": " ) + newUrl) != 0) {