From 4b57a291f3d2ea2168666d3906a7c1780eef49e1 Mon Sep 17 00:00:00 2001 From: dartraiden Date: Tue, 20 Jun 2023 19:32:41 +0300 Subject: Fix Food Network search --- plugins/Scriver/src/utils.cpp | 2 +- src/mir_app/src/srmm_log_rtf.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/Scriver/src/utils.cpp b/plugins/Scriver/src/utils.cpp index 4c7449c852..47819260e7 100644 --- a/plugins/Scriver/src/utils.cpp +++ b/plugins/Scriver/src/utils.cpp @@ -116,7 +116,7 @@ void SearchWord(wchar_t *word, int engine) mir_snprintf(szURL, "http://search.yahoo.com/search?p=%s&ei=UTF-8", wordURL.c_str()); break; case SEARCHENGINE_FOODNETWORK: - mir_snprintf(szURL, "http://search.foodnetwork.com/search/delegate.do?fnSearchString=%s", wordURL.c_str()); + mir_snprintf(szURL, "http://www.foodnetwork.com/search/%s-", wordURL.c_str()); break; case SEARCHENGINE_BING: mir_snprintf(szURL, "http://www.bing.com/search?q=%s&form=OSDSRC", wordURL.c_str()); diff --git a/src/mir_app/src/srmm_log_rtf.cpp b/src/mir_app/src/srmm_log_rtf.cpp index b77d94ee69..18a4130482 100644 --- a/src/mir_app/src/srmm_log_rtf.cpp +++ b/src/mir_app/src/srmm_log_rtf.cpp @@ -554,7 +554,7 @@ INT_PTR CRtfLogWindow::WndProc(UINT msg, WPARAM wParam, LPARAM lParam) szURL.Format(L"http://search.yahoo.com/search?p=%s&ei=UTF-8", pszWord); break; case IDM_SEARCH_FOODNETWORK: - szURL.Format(L"http://search.foodnetwork.com/search/delegate.do?fnSearchString=%s", pszWord); + szURL.Format(L"http://www.foodnetwork.com/search/%s-", pszWord); break; case IDM_SEARCH_BING: szURL.Format(L"http://www.bing.com/search?q=%s&form=OSDSRC", pszWord); -- cgit v1.2.3