|
4 | 4 |
|
5 | 5 | const_info={ |
6 | 6 | name:'zhihuHot', |
7 | | -version:'1.3', |
8 | | -updated_at:'2025-05-08 13:05:00', |
| 7 | +version:'1.4', |
| 8 | +updated_at:'2025-11-28 22:00:00', |
9 | 9 | author:'raoyc', |
10 | 10 | description:'a widget to show zhihu hot questions', |
11 | 11 | repo_file_url:'https://github.com/ycrao/scripts-for-scriptable/blob/main/app/zhihuHot.js', |
@@ -73,7 +73,9 @@ if (cache.contains(key)) { |
73 | 73 | }else{ |
74 | 74 | // v3 api need login |
75 | 75 | // result = await $http.req("get", "https://www.zhihu.com/api/v3/feed/topstory/hot-lists/total").loadJSON() |
76 | | -result=await$http.req("get","https://cdn.jsdelivr.net/gh/ycrao/scripts-for-scriptable/outputs/zhihu_hotlist.json").loadJSON() |
| 76 | +// result = await $http.req("get", "https://cdn.jsdelivr.net/gh/ycrao/scripts-for-scriptable/outputs/zhihu_hotlist.json").loadJSON() |
| 77 | +// using my own data server |
| 78 | +result=await$http.req("get","https://tda.gh.1206168.xyz/zhihu_hotlist.json").loadJSON() |
77 | 79 | // cache.set(key, JSON.stringify(result)) |
78 | 80 | } |
79 | 81 |
|
|