1
0
mirror of https://github.com/musix-org/musix-oss synced 2025-06-17 04:26:00 +00:00

updated all commands and removed some weird files

This commit is contained in:
MatteZ02
2019-08-14 15:26:33 +03:00
parent 29b40867a3
commit 9d7e55b5ee
1058 changed files with 170671 additions and 70 deletions

13
node_modules/simple-youtube-api/examples/playlist.js generated vendored Normal file
View File

@ -0,0 +1,13 @@
const YouTube = require('simple-youtube-api');
const youtube = new YouTube(' Y o u r A p i K e y ');
youtube.getPlaylist('https://www.youtube.com/playlist?list=PL2BN1Zd8U_MsyMeK8r9Vdv1lnQGtoJaSa')
.then(playlist => {
console.log(`The playlist's title is ${playlist.title}`);
playlist.getVideos()
.then(videos => {
console.log(`This playlist has ${videos.length === 50 ? '50+' : videos.length} videos.`);
})
.catch(console.log);
})
.catch(console.log);

8
node_modules/simple-youtube-api/examples/search.js generated vendored Normal file
View File

@ -0,0 +1,8 @@
const YouTube = require('simple-youtube-api');
const youtube = new YouTube(' Y o u r A p i K e y ');
youtube.searchVideos('Centuries', 4)
.then(results => {
console.log(`The video's title is ${results[0].title}`);
})
.catch(console.log);

8
node_modules/simple-youtube-api/examples/video.js generated vendored Normal file
View File

@ -0,0 +1,8 @@
const YouTube = require('simple-youtube-api');
const youtube = new YouTube(' Y o u r A p i K e y ');
youtube.videoById('https://www.youtube.com/watch?v=3odIdmuFfEY')
.then(video => {
console.log(`The video's title is ${video[0].title}`);
})
.catch(console.log);