Using public APIs offered by bilibili.com, a famous video website in China, to dynamically gain and analyze data of videos and users. In the index page, you can input an AV number for a video or a user ID for the detailed information of that video or user.
This project consists of two parts:
- Offer GUI to users to search for information of a specific video or an account. More features are still being added. The GUI is currently a RESTful web application built with Node.js. I intend to build an iOS app to extend this project.
- Store static information of over 14 million videos obtained in late August 2017 into my database. As a practice of learning database, analyze how MySQL stores and modify them upon changing.
To run this website on your localhost:
First, install all dependencies using npm
command.
npm install
Then, to start the server, run
node biliInfo.js
Now, the server is listening on localhost:3002
.
For developers, it might be easier to test by running the website using nodemon
. If you haven't installed it, run
npm install -g nodemon
Then, to start the server, run
nodemon biliInfo.js -e js,html,css
The server will restart automatically if any JavaScript, HTML, or CSS has changed.