Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/valerebron/usetube

search & get datas from youtube no google account needed
https://github.com/valerebron/usetube

crawler typescript video youtube youtube-api

Last synced: about 2 months ago
JSON representation

search & get datas from youtube no google account needed

Awesome Lists containing this project

README

        



Usetube

[![Version](https://img.shields.io/npm/v/usetube.svg)](https://www.npmjs.com/package/usetube)
[![Downloads](https://img.shields.io/npm/dt/usetube.svg)](https://www.npmjs.com/package/usetube)

### 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

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

# methods
```js
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
```js
video {
id
original_title
title
artist
duration
publishedAt
}
```
```js
channel {
name
channel_id
nb_videos
nb_subscriber
official
channel_avatar_small
channel_avatar_medium
channel_avatar_large
}
```