Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Loser02/YOUTUBE-DATA-TRANSFER
moves youtube subsciptions and youtube playlists between accounts
https://github.com/Loser02/YOUTUBE-DATA-TRANSFER
Last synced: about 1 month ago
JSON representation
moves youtube subsciptions and youtube playlists between accounts
- Host: GitHub
- URL: https://github.com/Loser02/YOUTUBE-DATA-TRANSFER
- Owner: Loser02
- Created: 2023-04-30T09:38:26.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-04-30T16:14:22.000Z (over 1 year ago)
- Last Synced: 2024-08-01T21:57:45.364Z (5 months ago)
- Language: Python
- Size: 81.1 KB
- Stars: 19
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- starred - Loser02/YOUTUBE-DATA-TRANSFER - moves youtube subsciptions and youtube playlists between accounts (Python)
README
# 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.
STEP 4=In the left-hand menu, navigate to "APIs & Services" > "Library."
STEP 7:In the search bar, type "YouTube Data API v3" and select it from the results.
STEP 8=Click "Enable" to enable the YouTube Data API v3 for your project. that will take you to this screen=
STEP 9=After the API is enabled, click "Create Credentials" in the top-right corner.
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.
STEP 11=fill in any app name and your email address=
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.
STEP 13=select desktop app and click create
STEP 14=download and save the file as client_secrets.json in the same directory as the python script.
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."
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.## 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.