🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

github.com/lazyhacker/youtube-copy

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/lazyhacker/youtube-copy

v0.0.0-20250225165635-91932eb4f099
Source
Go
Version published
Created
Source

This is a quick hack that uses the Youtube Data API to create playlists and subscriptions from Google Takeout for Youtube. The oAuth stuff and parts of calling the API is straight from Youtube's tutorial and code samples for using their APIs.

I wrote this to transfer my playlists and subscription from one Google account to another.

Prequisite

To use this, you must first enable the Youtube Data API for your Google account including downloading the credential file for oAuth. Save the credential file as cs.json.

Using Google Takeout, download your playlist and subscriptions in JSON format.

Installing

go get lazyhacker.dev/youtube-copy

Disclaimer

I wrote this specifically for my need to copy some data over so there's no support. Use it at your own risk, but feel free to look at the code.

FAQs

Package last updated on 25 Feb 2025

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