Bilibili
Shows your Bilibili follower count
Node-RED
AWTRIX 3
About this flow
| System | Node-RED |
|---|---|
| AWTRIX version | AWTRIX 3 |
| Topic | Social |
| Built by | Blueforcer |
| File | xWBq65KDAywp.json · 4.3 KB |
| Icons | 1 |
| Published | 10 May 2023 · updated 7 Aug 2026 |
| Downloads | 40 |
Is this your flow?
If you created this flow, open your saved edit link to add it to your account. You can then manage it whenever you sign in. Adding it to your account replaces the edit link.
Go to https://space.bilibili.com/
Find the 'MID' at 'https://space.bilibili.com/XXX'
Copy and enter your MID in the data node
xWBq65KDAywp.json
[
{
"id": "9b5c510178ede3d3",
"type": "group",
"z": "54b42d8d.cda474",
"style": {
"stroke": "#999999",
"stroke-opacity": "1",
"fill": "none",
"fill-opacity": "1",
"label": true,
"label-position": "nw",
"color": "#a4a4a4"
},
"nodes": [
"7e935ff03553b110",
"7d42d776c6fbbb53",
"3225106119dd31f9",
"06fad6e7d19848a5",
"d9decd51e75c01c9",
"bd9927abe3febdc7"
],
"x": 34,
"y": 199,
"w": 892,
"h": 122
},
{
"id": "7e935ff03553b110",
"type": "inject",
"z": "54b42d8d.cda474",
"g": "9b5c510178ede3d3",
"name": "",
"props": [],
"repeat": "600",
"crontab": "",
"once": true,
"onceDelay": "1",
"topic": "",
"x": 130,
"y": 280,
"wires": [
[
"bd9927abe3febdc7"
]
]
},
{
"id": "7d42d776c6fbbb53",
"type": "http request",
"z": "54b42d8d.cda474",
"g": "9b5c510178ede3d3",
"name": "",
"method": "GET",
"ret": "obj",
"paytoqs": "query",
"url": "https://api.bilibili.com/x/relation/stat",
"tls": "",
"persist": false,
"proxy": "",
"insecureHTTPParser": false,
"authType": "",
"senderr": false,
"headers": [],
"credentials": {},
"x": 430,
"y": 280,
"wires": [
[
"3225106119dd31f9"
]
]
},
{
"id": "3225106119dd31f9",
"type": "function",
"z": "54b42d8d.cda474",
"g": "9b5c510178ede3d3",
"name": "parser",
"func": "var json = msg.payload;\nvar follower = json.data.follower;\n\nmsg.payload = {\"text\": follower, \"icon\": \"bilibili\"};\nreturn msg;",
"outputs": 1,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 590,
"y": 280,
"wires": [
[
"06fad6e7d19848a5"
]
]
},
{
"id": "06fad6e7d19848a5",
"type": "mqtt out",
"z": "54b42d8d.cda474",
"g": "9b5c510178ede3d3",
"name": "",
"topic": "awtrix/custom/bilibili",
"qos": "",
"retain": "",
"respTopic": "",
"contentType": "",
"userProps": "",
"correl": "",
"expiry": "",
"broker": "346df2a95aac5785",
"x": 800,
"y": 280,
"wires": []
},
{
"id": "d9decd51e75c01c9",
"type": "comment",
"z": "54b42d8d.cda474",
"g": "9b5c510178ede3d3",
"name": "Bilibili Follower",
"info": "Go to https://space.bilibili.com/\nFind the 'MID' at 'https://space.bilibili.com/XXX'\nCopy and enter your MID in the data node",
"x": 160,
"y": 240,
"wires": []
},
{
"id": "bd9927abe3febdc7",
"type": "function",
"z": "54b42d8d.cda474",
"g": "9b5c510178ede3d3",
"name": "Data",
"func": "msg.payload = { \"vmid\": 441864512, \"jsonp\": \"jsonp\"}\nreturn msg;",
"outputs": 1,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 270,
"y": 280,
"wires": [
[
"7d42d776c6fbbb53"
]
]
},
{
"id": "346df2a95aac5785",
"type": "mqtt-broker",
"name": "",
"broker": "localhost",
"port": "1883",
"clientid": "",
"autoConnect": true,
"usetls": false,
"protocolVersion": "4",
"keepalive": "60",
"cleansession": true,
"birthTopic": "",
"birthQos": "0",
"birthPayload": "",
"birthMsg": {},
"closeTopic": "",
"closeQos": "0",
"closePayload": "",
"closeMsg": {},
"willTopic": "",
"willQos": "0",
"willPayload": "",
"willMsg": {},
"userProps": "",
"sessionExpiry": ""
}
]
This flow uses the following icons. Add them to your AWTRIX along with the flow.
8×8 px