Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/valerebron/usetube
- Owner: valerebron
- License: gpl-3.0
- Created: 2020-09-21T15:08:31.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-04-06T16:37:29.000Z (over 1 year ago)
- Last Synced: 2024-10-01T15:49:13.258Z (3 months ago)
- Topics: crawler, typescript, video, youtube, youtube-api
- Language: TypeScript
- Homepage:
- Size: 479 KB
- Stars: 48
- Watchers: 2
- Forks: 18
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![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
}
```