From 3d2bb79144aa63d691da46da7a77d8be868368cd Mon Sep 17 00:00:00 2001 From: dec05eba Date: Tue, 30 Nov 2021 13:00:07 +0100 Subject: Fix manganelo search being broken when search term includes spaces --- src/plugins/Manganelo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins') diff --git a/src/plugins/Manganelo.cpp b/src/plugins/Manganelo.cpp index b1e61c4..f88ac03 100644 --- a/src/plugins/Manganelo.cpp +++ b/src/plugins/Manganelo.cpp @@ -109,7 +109,7 @@ namespace QuickMedia { std::string url = "https://manganelo.com/getstorysearchjson"; std::string search_term = "searchword="; search_term += url_param_encode(str); - CommandArg data_arg = { "--form-string", std::move(search_term) }; + CommandArg data_arg = { "--data-raw", std::move(search_term) }; Json::Value json_root; DownloadResult result = download_json(json_root, url, {data_arg}, true); -- cgit v1.2.3