imdb: enable explicit search on www.imdb.com

Origin commit data
------------------
Branch: ni/coolstream
Commit: 27ad3ad04a
Author: gixxpunk <thomas.harfmann@gmail.com>
Date: 2017-05-29 (Mon, 29 May 2017)

Origin message was:
------------------
- imdb: enable explicit search on www.imdb.com

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
gixxpunk
2017-05-29 14:00:42 +02:00
parent ce88037a70
commit 8905f1ac11
2 changed files with 3 additions and 3 deletions

View File

@@ -1645,7 +1645,7 @@ int CEpgData::showIMDb(bool splash)
//titel
std::string title = imdb->getIMDbElement("Title");
if(((title.find("IMDb: URL (Seite) nicht gefunden")) != std::string::npos))
if(((title.find("IMDb: Google Download fehlgeschlagen")) != std::string::npos))
return 1;
// clear epg array

View File

@@ -206,7 +206,7 @@ std::string CIMDB::parseFile(std::string search1, std::string search2, const cha
std::string CIMDB::googleIMDb(std::string searchStr)
{
CHTTPTool httpTool;
std::string ret = "IMDb: google download fehlgeschlagen";
std::string ret = "IMDb: Google Download fehlgeschlagen";
std::string httpString = "imdb+";
char* searchStr_ = (char*) searchStr.c_str();
@@ -227,7 +227,7 @@ std::string CIMDB::googleIMDb(std::string searchStr)
searchStr_++;
}
std::string url = surl + "IMDb+" + utf82url(httpString);
std::string url = surl + utf82url(httpString) + "%20site:www.imdb.com";
if (httpTool.downloadFile(url, soutfile.c_str()))
{