/YOUTUBE-DATA-TRANSFER

moves youtube subsciptions and youtube playlists between accounts

Primary LanguagePython

YOUTUBE-DATA-TRANSFER

moves youtube subscriptions and youtube playlists between accounts

Prerequisites

To use this script, you need to have Python and git installed on your system.

Usage

run the run_transfer.bat file by double clicking it. this will automatically install required modules. 1st login:source account 2nd login:target account

install

clone repository by running this in command prompt:

git clone https://github.com/Loser02/YOUTUBE-DATA-TRANSFER.git

Installing json

YOU NEED THE .JSON FILE TO RUN THIS AND ADD TEST USERS SO API ISNT BLOCKED SO PLEASE DO THAT BY=

youtube tutorial: https://www.youtube.com/watch?v=BFoMtSbb1SY

  1. MAKE THE client_secrets.json FILE: STEP 1=Go to the https://console.cloud.google.com/ STEP 2=Sign in with your Google account if you haven't already. STEP 3=Click the "Select a project" dropdown at the top, then click "New Project" in the top-right corner of the dialog (dont need to edit name or organization) and click create.

image

STEP 4=In the left-hand menu, navigate to "APIs & Services" > "Library."

image

image

STEP 7:In the search bar, type "YouTube Data API v3" and select it from the results.

image

STEP 8=Click "Enable" to enable the YouTube Data API v3 for your project. that will take you to this screen=

image

STEP 9=After the API is enabled, click "Create Credentials" in the top-right corner.

image

STEP 10=In the "Add credentials to your project" page, select "YouTube Data API v3" for "Which API are you using?" and check user data and click next.

image

STEP 11=fill in any app name and your email address=

image

STEP 12=click add or remove scopes and type https://www.googleapis.com/auth/youtube.force-ssl into search bar. check it and then update and then save and countinue.

image

STEP 13=select desktop app and click create

image

STEP 14=download and save the file as client_secrets.json in the same directory as the python script.

image

2. ADDING ACCOUNTS TO TESTERS: STEP 1=Go to the https://console.cloud.google.com/ STEP 2=In the left-hand menu, navigate to "APIs & Services" > "OAuth consent screen."

image

STEP 3=Scroll down to the "Test users" section. Click "Add Users" to add test users. Enter the email addresses of the Google accounts you'd like to grant access to your app. These should be the email addresses of the source and target accounts you want to transfer data between. Click "SAVE" to save the test users.

image

notes

if you make multple client service files rename them with a number. eg 1 more api file should be named client_secrets_1.json. the client_secrets.json is still required. allowed names: client_secrets.json, client_secrets_1.json, client_secrets_2.json, etc until clients_secrets_10.json this is due to api quota limit. the code will fallback on any secondary json file from another project.

future plans

i am planning on getting a handful verified of api keys (30ish) which would allow anyone to use it without the hassle of having to make their own.