Code Monkey home page Code Monkey logo

biliplus's Introduction

BiliPlus

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.

License

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.

Support

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.

System Require

  1. PHP 5.3 or higher
  2. MySQL Server of any version
  3. A Domain with SSL support(HTTPS protocol)

Preparing For Install

  1. PLEASE NOTE : Do not use AppKey, AppSecret and etc. in old versions of our code, they can only use on our domain "bilicloud.com".
  2. Register your API Key on Bilibili Open Api Platform, just visit this link(you need to login first): http://www.bilibili.com/account/getapi
  3. Enter your site name after "网站名称", and enter "http://(Your Site's Domain)/api/login.php" after "网站地址".
  4. The page will automatically generate a link of a html file, download&move it into the root directory of your site.
  5. Click the button below, and the page will give you your PublicKey, AppKey, AppSecret & 3rdLoginURL("第3方登录请求地址"), save them in a file for further using.
  6. Edit "/task/config.php", fill AppKey, AppSecret, 3rdLoginURL using those you saved just now.

Install And Config

  1. 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!
  2. We recommend you to use a empty MySQL database and run BiliPlus in a new web server.
  3. Edit "/task/mysql.php" and add your MySQL server info so that we can connent to your database.
  4. Copy all files to your web server's root document directory.
  5. Run "/task/install.php" to set up databanse.
  6. Run "/task/createlist.php" to create data cache for some video lists.
  7. Run "/task/getlist.php" to update cache data of the video lists.
  8. Create a Cron task for "/task/getlist.php", we recommend you to run it every one hour.
  9. (optional) For security reasons, disable the visitor's access permission of "/task" directory.

Enjoy It

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 :)

biliplus's People

Contributors

tundrawork avatar

Watchers

dr490n avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.