Socket
Book a DemoInstallSign in
Socket

@uprestech/yt-ul

Package Overview
Dependencies
Maintainers
6
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@uprestech/yt-ul

Youtube API Uploader - using node.js

latest
npmnpm
Version
2.6.7
Version published
Maintainers
6
Created
Source

@uprestech/yt-ul 2.0 Rewrite, now node.js native

1: create/download the client-secrets.json credentials from the google console

go through these https://developers.google.com/identity/protocols/oauth2/web-server#creatingcred and follow the link to the 'credentials page' and create/downlod a 'OAuth 2.0 Client IDs'

Note:

You may need to add "Youtube Data API" access role for the google project first, and check you have these 3 scopes on your user/role(s). 

'https://www.googleapis.com/auth/youtube'

'https://www.googleapis.com/auth/youtube.upload'

'https://www.googleapis.com/auth/yt-analytics.readonly'

2

npm install -g yt-ul@2

❯ yt-ul -V
2.4.5

> yt-ul ..//sample_video_ai.MT-earth-avatar.11-28-2023.mp4 -c ./samples/horoscope-EARTH-vid.config.json -s ~/.credentials/client_secrets.12-13-2023.json -r ~/.credentials/yt-uploader-tokens.json
> npm run start -- ../sample_video_ai.MT-earth-avatar.11-28-2023.mp4 \
-c ./samples/horoscope-EARTH-vid.config.json \
-s ~/.credentials/client_secrets.12-13-2023.json \
-r  ~/.credentials/yt-uploader-tokens.01-07-24.json 

3

FAQs

Package last updated on 20 Feb 2024

Did you know?

Socket

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.

Install

Related posts