Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

youtubei.js

Package Overview
Dependencies
Maintainers
1
Versions
124
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

youtubei.js - npm Package Compare versions

Comparing version 1.3.5 to 1.3.6

5

lib/Innertube.js

@@ -660,3 +660,6 @@ 'use strict';

url_components.searchParams.set('ratebypass', 'yes');
url_components.searchParams.set('n', new NToken(this.#player.ntoken_sc).transform(url_components.searchParams.get('n')));
if (url_components.searchParams.get('n')) {
url_components.searchParams.set('n', new NToken(this.#player.ntoken_sc).transform(url_components.searchParams.get('n')));
}

@@ -663,0 +666,0 @@ format.url = url_components.toString();

12

package.json
{
"name": "youtubei.js",
"version": "1.3.5",
"version": "1.3.6",
"description": "An object-oriented library that allows you to search, get detailed info about videos, subscribe, unsubscribe, like, dislike, comment, download videos and much more!",

@@ -10,2 +10,3 @@ "main": "index.js",

"author": "LuanRT",
"funding": "https://ko-fi.com/luanrt",
"license": "MIT",

@@ -28,2 +29,3 @@ "directories": {

"yt",
"ytdl",
"youtube",

@@ -36,9 +38,9 @@ "youtube-dl",

"livechat",
"dl",
"api",
"like",
"downloader",
"dislike",
"search",
"comment",
"downloader"
"like",
"api",
"dl"
],

@@ -45,0 +47,0 @@ "bugs": {

@@ -52,13 +52,13 @@ <h1 align=center>YouTube.js</h1>

[1. Getting Started](https://github.com/LuanRT/YouTube.js#usage)
[1. Getting Started](#usage)
[2. Interactions](https://github.com/LuanRT/YouTube.js#interactions)
[2. Interactions](#interactions)
[3. Live chats](https://github.com/LuanRT/YouTube.js#fetching-live-chats)
[3. Live chats](#fetching-live-chats)
[4. Downloading videos](https://github.com/LuanRT/YouTube.js#downloading-videos)
[4. Downloading videos](#downloading-videos)
[5. Signing-in](https://github.com/LuanRT/YouTube.js#signing-in)
[5. Signing-in](#signing-in)
[6. Disclaimer](https://github.com/LuanRT/YouTube.js#disclaimer)
[6. Disclaimer](#disclaimer)

@@ -765,3 +765,3 @@ First of all we're gonna start by initializing the Innertube instance.

const stream = youtube.download(search.videos[0].id, {
format: 'mp4', // Optional, ignored when type is set to audio and defaults to mp4, and I recommend to leave it as it is
format: 'mp4', // Optional, defaults to mp4 and I recommend to leave it as it is unless you know what you're doing
quality: '360p', // if a video doesn't have a specific quality it'll fall back to 360p, also ignored when type is set to audio

@@ -768,0 +768,0 @@ type: 'videoandaudio' // can be “video”, “audio” and “videoandaudio”

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc