aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-08-15 00:11:23 +0200
committerdec05eba <dec05eba@protonmail.com>2021-08-15 00:11:23 +0200
commit50f97448d25224dfe33624f74c6a77f23bf54289 (patch)
treecbef0b6910f4d961218ee49fcfc18cd34c773145
parent2a15b70c229e2e654e69d11f2df2a5ccd7c22f40 (diff)
Nyaa: fix magnet download (html unescape sequences)
-rw-r--r--src/plugins/NyaaSi.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/NyaaSi.cpp b/src/plugins/NyaaSi.cpp
index 8e55e62..f4c0560 100644
--- a/src/plugins/NyaaSi.cpp
+++ b/src/plugins/NyaaSi.cpp
@@ -426,6 +426,7 @@ namespace QuickMedia {
goto cleanup;
}
+ html_unescape_sequences(magnet_url);
torrent_item->url = std::move(magnet_url);
result_items.push_back(std::move(torrent_item));
comments_start_index = result_items.size();