mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 17:01:15 +02:00
imdb.cpp: fix parsing google file
This commit is contained in:
@@ -231,11 +231,11 @@ std::string CIMDB::googleIMDb(std::string s)
|
|||||||
search_char++;
|
search_char++;
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string url = search_url + utf82url(search_string) + "%20site:www.imdb.com";
|
std::string url = search_url + utf82url(search_string) + "%20www.imdb.com";
|
||||||
|
|
||||||
if (httpTool.downloadFile(url, search_outfile.c_str()))
|
if (httpTool.downloadFile(url, search_outfile.c_str()))
|
||||||
{
|
{
|
||||||
ret = parseFile("http://www.imdb.com/title/", ">", search_outfile.c_str());
|
ret = parseFile("https://www.imdb.com/title/", ">", search_outfile.c_str());
|
||||||
|
|
||||||
if(ret.empty())
|
if(ret.empty())
|
||||||
ret = parseFile("http://www.imdb.de/title/", ">", search_outfile.c_str());
|
ret = parseFile("http://www.imdb.de/title/", ">", search_outfile.c_str());
|
||||||
|
Reference in New Issue
Block a user