Skip to content

Releases: twlite/youtube-sr

v2.0.2

25 Nov 02:44
Compare
Choose a tag to compare

Changes

  • Update playlist validation (#5)

YouTube-sr v2

18 Nov 05:42
Compare
Choose a tag to compare
  • Fixed playlist bug (#3)
  • Fixed locale
  • Rename validateURL to validate with validation types
  • Other minor changes

NPMJS: https://npmjs.com/package/youtube-sr
GitHub: https://github.com/DevSnowflake/youtube-sr

v1.0.7 | URL Validation

11 Nov 01:30
Compare
Choose a tag to compare

Support for URL Validation

// with valid url
const res = youtube.validateURL(url);
console.log(res); // true

// with invalid url
const res = youtube.validateURL(url);
console.log(res); // false

v1.0.6 | Playlist Support

10 Nov 19:01
Compare
Choose a tag to compare

This version supports playlist parsing

Example:

const playlistURL = "SOME_PLAYLIST";

youtube.getPlaylist(playlistURL)
    .then(console.log);