Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
@dofiltra/youtube
Advanced tools
Search videos on youtube without API key
Table of contents:
npm install youtube-search-without-api-key --save
import * as yt from 'youtube-search-without-api-key';
/**
* Given a search query, searching on youtube
* @param {string} search value (string or videoId).
*/
const videos = await yt.search('Hallo Welt');
const videos = await yt.search('y5kIrbG2gRc');
console.log('Videos:');
console.log(videos);
[{ kind: 'youtube#searchResult',
channel:
{ id: 'UCFzpTuxdolZ_EaZr-emNgbg',
name: 'David Koller',
url: 'https://www.youtube.com/channel/UCFzpTuxdolZ_EaZr-emNgbg' },
id:
{ videoId: 'y5kIrbG2gRc',
channelId: 'UCFzpTuxdolZ_EaZr-emNgbg' },
snippet:
{ url: 'https://www.youtube.com/watch?v=y5kIrbG2gRc',
thumbnails: {
"url":"https://i.ytimg.com/vi/y5kIrbG2gRc/hqdefault.jpg?sqp=-oaymwEjCPYBEIoBSFryq4qpAxUIARUAAAAAGAElAADIQj0AgKJDeAE=&rs=AOn4CLA-pk9HLDSz4VelSFZ01ceyeIpBSw",
"width":"246",
"height":"138"
},
publishedAt: 'vor 3 Monaten',
duration: '2:01',
title: 'How to Download Free Music On Your iPhone (OFFLINE) 2020',
views: '51',
description:
'This video will show you how to download free music and videos on your iphone easy and fast 2020 ...' }
},...]
const yt = require('youtube-search-without-api-key');
/**
* Given a search query, searching on youtube
* @param {string} search value.
*/
const videos = await yt.search('My Search Query');
console.log('Videos:');
console.log(videos);
Our client libraries follow the Node.js release schedule. Libraries are compatible with all current active and maintenance versions of Node.js.
Apache Version 2.0
See LICENSE
FAQs
Search videos on YouTube without API key
The npm package @dofiltra/youtube receives a total of 0 weekly downloads. As such, @dofiltra/youtube popularity was classified as not popular.
We found that @dofiltra/youtube demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.