From cccb6a7ce6c68d0eb784188e79977686d535e694 Mon Sep 17 00:00:00 2001 From: FlatTV Date: Sat, 5 May 2018 21:10:34 +0200 Subject: [PATCH] imdb.cpp: fix parsing google file --- src/gui/imdb.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/imdb.cpp b/src/gui/imdb.cpp index 6e450ba74..c3991d766 100644 --- a/src/gui/imdb.cpp +++ b/src/gui/imdb.cpp @@ -231,11 +231,11 @@ std::string CIMDB::googleIMDb(std::string s) 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())) { - 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()) ret = parseFile("http://www.imdb.de/title/", ">", search_outfile.c_str());