Skip to content

hexie2108/bilibili_dynamic_lottery

Repository files navigation

在线演示地址

https://bilibili.mikuclub.cc/

B站动态转发抽奖小程序

本应用是 使用node.js+html+Jquery+bootstrap完成, 需要node环境支持, 通过抓取B站动态的相关数据列表, 来实现抽奖功能

运行方法

  1. 安装nodejs环境
  2. 在本项目文件夹里打开命令行 运行 npm install 安装下载依赖文件
  3. 运行 npm start 启动项目
  4. 用游览器访问 http://localhost:3000/ .

如何更改默认端口和b站api地址

  1. 重命名 .env.sample 改成 .env
  2. 替换掉里面的PORT变量即可

bilibili_dynamic_lottery

This application is completed using node.js+html+Jquery+bootstrap, needs node environment support, the lottery function is base on the user list of a specific Bilibili dynamic, the program is going the get the list and select a winner by random.

how to use

  1. Install nodejs environment
  2. Open the command line in the project folder and run npm install to install and download dependent files
  3. Run npm start to start the project
  4. Use the browser to access http://localhost:3000/ .

How to change the default port and Bilibili API address

  1. Rename .env.sample to .env
  2. Just replace the variables inside

About

B站动态转发抽奖小程序

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published