fix search error

This commit is contained in:
wanxp 2024-07-11 10:19:14 +08:00
parent d0ed8cf1f3
commit 232439b64c
4 changed files with 5 additions and 6 deletions

@ -1,7 +1,7 @@
{
"id": "obsidian-douban-plugin",
"name": "Douban",
"version": "2.0.6",
"version": "2.0.7",
"minAppVersion": "0.12.0",
"description": "This is a plugin that can import movies/books/musics/notes/games info data from Douban for Obsidian .",
"author": "Wanxp",

@ -1,6 +1,6 @@
{
"name": "obsidian-douban-plugin",
"version": "2.0.6",
"version": "2.0.7",
"description": "This is a plugin for Obsidian (https://obsidian.md) that can import data from Douban (https://www.douban.com/).",
"main": "main.js",
"scripts": {

@ -34,9 +34,7 @@ export abstract class AbstractSearchPageFetcher implements SearchPageFetcherInte
if (keyword.length == 0) {
return "";
}
if (Platform.isMacOS) {
keyword = HttpUtil.encodeUrl(keyword);
}
keyword = HttpUtil.encodeUrl(keyword);
return this.getUrl(keyword, start, pageSize)
}

@ -51,5 +51,6 @@
"2.0.3": "0.12.0",
"2.0.4": "0.12.0",
"2.0.5": "0.12.0",
"2.0.6": "0.12.0"
"2.0.6": "0.12.0",
"2.0.7": "0.12.0"
}