JSPM

  • Created
  • Published
  • Downloads 270
  • Score
    100M100P100Q90306F
  • License AGPL-3.0-or-later

crawl youtube without api key (search videos channels or get all channel/playlist's videos)

Package Exports

  • usetube
  • usetube/dist/usetube.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (usetube) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Usetube

Version Downloads

Youtube Crawler

search & get datas from youtube

no google account needed


This package is initially dev for the site https://massivemusic.fr/add-tracks/, It's here for sharing & contribute.

usage

const usetube = require('usetube')
await usetube.searchVideo('Lorn')

methods

searchVideo(terms)
searchChannel(terms)
getChannelVideos(channel_id)
getPlaylistVideos(playlist_id)
getChannelDesc(channel_id)
getVideoDesc(video_id)
getVideoDate(video_id)
getVideosFromDesc(video_id)
getVideoSubtitles(video_id)

returned datas

video {
  id
  original_title
  title
  artist
  duration
  publishedAt
}
channel {
  name
  channel_id
  nb_videos
  nb_subscriber
  official
  channel_avatar_small
  channel_avatar_medium
  channel_avatar_large
}