Skip to content

Instantly share code, notes, and snippets.

View janedut's full-sized avatar
🏠
Working from home

Jane janedut

🏠
Working from home
View GitHub Profile
@alexkuang0
alexkuang0 / biliFollower.js
Last active September 27, 2022 06:49
Scriptable iOS 14 Widget - Bilibili followers count monitor 哔哩哔哩粉丝数监控
const UID = args.widgetParameter
if (!/^\d+$/.test(UID)) throw new Error('请提供正确的 UID')
let widget = createWidget(await getData(UID))
if (!config.runsInWidget) {
await widget.presentSmall()
}