Translate symbol + to space in query

This commit is contained in:
2022-01-03 18:02:45 +01:00
parent 1d25914ae0
commit f4dbaf4c58

View File

@@ -50,6 +50,10 @@ async function callPythonAddMagnet(url, callback) {
}
async function SearchPiratebay(query) {
if (query && query.includes("+")) {
query = query.replace("+", "%20");
}
const cacheKey = `pirate/${query}`;
return new Promise((resolve, reject) =>