Choose a folder project in your system and switch in cd [folder path]
Clone the repo in your folder path git clone https://github.com/ChrisMichaelPerezSantiago/ytanimetv.git
Installation
In order to install the project and all dependencies, enter in the project folder and run npm install
Start the project
npm start
Test the project
npm test
API Documentation
📣Read this please | To get the videos!📣
getAnimeVideo([id])
First of all I must mention that the url of the videos work only using the iframe element.To get the videos of each chapter, you only need to use the getAnimeVideo function that receives the id of the episode as a parameter.To verify the id of each episode, look at the episodes property:
"episodes": {
"1":{
"episode":1,
"id":"dragon-ball-1"
},
}
You just have to pass the id of the episode
getAnimeVideo('dragon-ball-1').then (v => { console.log (v) });
"synopsis":"Psycho-Pass 3 sigue a dos nuevos novatos tratando de entender el Sistema Sibyl y buscar la verdad en el mundo siempre cambiante de Psycho-Pass.",
"synopsis":"Senku es un joven extremadamente inteligente con un gran don para la ciencia y una ácida personalidad, y su mejor amigo es Taiju, que es muy buena persona pero más apto para usar los músculos que para pensar. Cuando tras cierto incidente toda la humanidad acaba convertida en piedra, ellos logran despertarse en un mundo miles de años después, con la civilización humana completamente desaparecida y con toda la humanidad congelada en piedra como ellos estuvieron. Ahora es su obligación rescatar a la gente y crear un nuevo mundo.",
"status":"En Emisión",
"total_eps":17,
"episodes":{
"1":{
"episode":1,
"id":"dr-stone-capitulo-1"
},
"2":{
"episode":2,
"id":"dr-stone-capitulo-2"
},
"3":{
"episode":3,
"id":"dr-stone-capitulo-3"
},
"4":{
"episode":4,
"id":"dr-stone-capitulo-4"
},
"5":{
"episode":5,
"id":"dr-stone-capitulo-5"
},
"6":{
"episode":6,
"id":"dr-stone-capitulo-6"
},
"7":{
"episode":7,
"id":"dr-stone-capitulo-7"
},
"8":{
"episode":8,
"id":"dr-stone-capitulo-8"
},
"9":{
"episode":9,
"id":"dr-stone-capitulo-9"
},
"10":{
"episode":10,
"id":"dr-stone-capitulo-10"
},
"11":{
"episode":11,
"id":"dr-stone-capitulo-11"
},
"12":{
"episode":12,
"id":"dr-stone-capitulo-12"
},
"13":{
"episode":13,
"id":"dr-stone-capitulo-13"
},
"14":{
"episode":14,
"id":"dr-stone-capitulo-14"
},
"15":{
"episode":15,
"id":"dr-stone-capitulo-15"
},
"16":{
"episode":16,
"id":"dr-stone-capitulo-16"
},
"17":{
"episode":17,
"id":"dr-stone-capitulo-17"
}
}
},
]
}
🤝 Contributing
Fork it!
Create your feature branch: git checkout -b my-new-feature
Commit your changes: git commit -am 'Add some feature'
Push to the branch: git push origin my-new-feature
This is just a personal project created for study / demonstration purpose and to simplify my working life, it may or may
not be a good fit for your project(s).
❤️ Show your support
Please ⭐️ this repository if you like it or this project helped you!
Feel free to open issues or submit pull-requests to help me improving my work.