These instructions are for streaming websites (eg. Crunchyroll), instructions for other types of websites are here.
There is 2 main cases for streaming websites :
- The website is static (the page fully reloads when you click a link, eg. Crunchyroll)
- The website is dynamic (the page is not reloading when you click a link, eg. Netflix)
Easy way! Follow the steps in the document static.js
in this gist.
You can do by 2 ways :
- Check each x seconds for updates on the pages
- Use DOM events to detect data
Document
dynamic.js
can help you.
Don't forget to add your library at website.js
.
var wbestanime = require('./websites/bestanime').api;
var libraries = [..., new wbestanime()];
When you finished that, you can submit a pull request on master
and i will review it.
Thanks for support!