这是一个二次元爱好者搭建的BiliPlus服务器,并对网站源文件进行了一些编辑,原始BiliPlus地址:https://github.com/TundraWork/BiliPlus
=下载链接改为直链,而非https跳转页面 +下载页面的在线观看选项添加了“主站”和“手机客户端”的链接
BiliPlus is a Bilibili API Helper site based on PHP.
It can provide you with Bilibili video play&download, hot list&bangumi list, video&special subject search, special subject view and other functions based on Open API and some other interfaces of Bilibili.
Copyright (c) 2014 TundraWork, under the GNU AFFERO GENERAL PUBLIC LICENSE, Version 3 (AGPL-3.0).
PLEASE NOTE that the license requires you to public your version of the source code if you do any modifications on it. You can simply create a fork and commit your versions.
We are now working on a new project and, our update on this project can be very slow.
However, please feel free to submit any BUGs.
- PHP 5.3 or higher
- MySQL Server of any version
- A Domain with SSL support(HTTPS protocol)
- PLEASE NOTE : Do not use AppKey, AppSecret and etc. in old versions of our code, they can only use on our domain "bilicloud.com".
- Register your API Key on Bilibili Open Api Platform, just visit this link(you need to login first): http://www.bilibili.com/account/getapi
- Enter your site name after "网站名称", and enter "http://(Your Site's Domain)/api/login.php" after "网站地址".
- The page will automatically generate a link of a html file, download&move it into the root directory of your site.
- Click the button below, and the page will give you your PublicKey, AppKey, AppSecret & 3rdLoginURL("第3方登录请求地址"), save them in a file for further using.
- Edit "/task/config.php", fill AppKey, AppSecret, 3rdLoginURL using those you saved just now.
- PLEASE NOTE : Duo to the data distribution problem of bilibili CDN server, servers in many areas CAN NOT get the correct API/Interface data, so you should choose servers in a good network environment, good luck!
- We recommend you to use an empty MySQL database and run BiliPlus in a new web server.
- Edit "/task/mysql.php" and add your MySQL server info so that we can connent to your database.
- Copy all files to your web server's root document directory.
- Run "/task/install.php" to set up database.
- Run "/task/createlist.php" to create data cache for some video lists.
- Run "/task/getlist.php" to update cache data of the video lists.
- Create a Cron task for "/task/getlist.php", we recommend you to run it every one hour.
- (optional) For security reasons, disable the visitor's access permission of "/task" directory.
That's all. If you find any BUGs in BiliPlus or have any suggestions, just Submit an issue or Contact us.
Then you can have a good time! Or star BiliPlus if you like :)