forked from markus/S_New4
v4.1.3: fix error with s.to not seri... .sx url in unteroption url... && now to debug but colorless mode whent want to use *-hoster && ka
This commit is contained in:
parent
25156f02ea
commit
eccaf98c1b
0
src/.programManager.cpp.~6d88e3e2
Normal file
0
src/.programManager.cpp.~6d88e3e2
Normal file
@ -91,7 +91,7 @@ struct Settings {
|
||||
proxy_ip = "127.0.0.1",
|
||||
languages = "GerDub,GerSub,Eng,",
|
||||
genaueHoster = "",
|
||||
version = "4.1.2",
|
||||
version = "4.1.3",
|
||||
defaultFileVersion="1.8",
|
||||
default_checkPath = "",
|
||||
default_Searchmuster = "S%Staffel%E%Folge%";
|
||||
|
1602
src/programManager (conflicted copy 2020-06-05 151208).cpp
Normal file
1602
src/programManager (conflicted copy 2020-06-05 151208).cpp
Normal file
File diff suppressed because it is too large
Load Diff
@ -548,7 +548,7 @@ int ProgramManager::defaultModus(Settings *settings)
|
||||
return 50;
|
||||
}
|
||||
std::string allLinks = pageManager.getLinks(tmp_reply.html);
|
||||
if(settings->genaueHoster == "*," && settings->debugMode) {
|
||||
if(settings->genaueHoster == "*," && settings->colorless) {
|
||||
if(settings->debugMode)
|
||||
std::cout << allLinks << std::endl;
|
||||
std::stringstream strstrem(allLinks);
|
||||
@ -624,7 +624,7 @@ int ProgramManager::directLinkModus(Settings *settings)
|
||||
std::cout << " => Error: Invalid Redirect Link: '" << line << "'" << std::endl;
|
||||
continue;
|
||||
|
||||
} else if(convertLink(line.erase(0, ((line.find("serienstream.sx") == std::string::npos) ? 0 : line.find("serienstream.sx") + 15 )), &accountManager, settings) != 0) {
|
||||
} else if(convertLink(line.erase(0, line.find("/redirect/") ), &accountManager, settings) != 0) {
|
||||
if(settings->debugMode)
|
||||
std::cerr << ">>> Debug In " << __FUNCTION__ << ": convert Link failed." << std::endl;
|
||||
return 78;
|
||||
|
Loading…
Reference in New Issue
Block a user