diff options
author | dec05eba <dec05eba@protonmail.com> | 2021-11-30 13:00:07 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2021-11-30 13:00:07 +0100 |
commit | 3d2bb79144aa63d691da46da7a77d8be868368cd (patch) | |
tree | eaafe89eb1c559cab761f15ad3a9744d2a8278f0 /src | |
parent | 60e48e51cff48bc17959267a985e1e2431f77cea (diff) |
Fix manganelo search being broken when search term includes spaces
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/Manganelo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); |