Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
github.com/parallax4/youtube/v2
This package is a Youtube video download package, for more detail refer https://github.com/ytdl-org/youtube-dl for more download options.
This tool is meant to be used to download CC0 licenced content, we do not support nor recommend using it for illegal activities.
Please ensure you have installed Go 1.17 or later.
go get github.com/kkdai/youtube/v2
git clone https://github.com/kkdai/youtube.git
cd youtube
go run ./cmd/youtubedr
brew install youtubedr
pkg install youtubedr
It's really simple to use, just get the video id from youtube url - ex: https://www.youtube.com/watch?v=rFejpH_tAHM
, the video id is rFejpH_tAHM
$ youtubedr download QAGDGja7kbs
$ youtubedr download https://www.youtube.com/watch?v=rFejpH_tAHM
Please check out the example_test.go for example code.
go get github.com/kkdai/youtube/v2/youtubedr
Download video from dotGo 2015 - Rob Pike - Simplicity is Complicated
youtubedr info https://www.youtube.com/watch?v=rFejpH_tAHM
Title: dotGo 2015 - Rob Pike - Simplicity is Complicated
Author: dotconferences
-----available streams-----
itag: 18 , quality: medium , type: video/mp4; codecs="avc1.42001E, mp4a.40.2"
itag: 22 , quality: hd720 , type: video/mp4; codecs="avc1.64001F, mp4a.40.2"
itag: 137 , quality: hd1080 , type: video/mp4; codecs="avc1.640028"
itag: 248 , quality: hd1080 , type: video/webm; codecs="vp9"
........
go get github.com/kkdai/youtube/v2/youtubedr
Download video from dotGo 2015 - Rob Pike - Simplicity is Complicated
youtubedr download https://www.youtube.com/watch?v=rFejpH_tAHM
go get github.com/kkdai/youtube/v2/youtubedr
Download video from dotGo 2015 - Rob Pike - Simplicity is Complicated to current directory and name the file to simplicity-is-complicated.mp4
youtubedr download -d ./ -o simplicity-is-complicated.mp4 https://www.youtube.com/watch?v=rFejpH_tAHM
go get github.com/kkdai/youtube/v2/youtubedr
Download video from dotGo 2015 - Rob Pike - Simplicity is Complicated with specific quality
youtubedr download -q medium https://www.youtube.com/watch?v=rFejpH_tAHM
Installation of ffmpeg is necessary for hd1080
ffmpeg //check ffmpeg is installed, if not please download ffmpeg and set to your PATH.
youtubedr download -q hd1080 https://www.youtube.com/watch?v=rFejpH_tAHM
go get github.com/kkdai/youtube/v2/youtubedr
Download video from dotGo 2015 - Rob Pike - Simplicity is Complicated
youtubedr download -q 18 https://www.youtube.com/watch?v=rFejpH_tAHM
https://www.youtube.com/watch?v=rFejpH_tAHM
, the video id is rFejpH_tAHM
http://youtube.com/get_video_info?video_id=
It is one of my project 52.
This package is licensed under MIT license. See LICENSE for details.
FAQs
Unknown package
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.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.