Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit29adcb0

Browse files
committed
using my own server
1 parent86852c8 commit29adcb0

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

‎app/zhihuHot.js‎

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44

55
const_info={
66
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',
99
author:'raoyc',
1010
description:'a widget to show zhihu hot questions',
1111
repo_file_url:'https://github.com/ycrao/scripts-for-scriptable/blob/main/app/zhihuHot.js',
@@ -73,7 +73,9 @@ if (cache.contains(key)) {
7373
}else{
7474
// v3 api need login
7575
// 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()
7779
// cache.set(key, JSON.stringify(result))
7880
}
7981

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp