Migrate YouTube subscriptions from one account to another
Project description
YouTube Subscriptions Migration is a Python program that allow user to migrate their channel subscriptions from one account to another.
Dependencies.
- google-auth-oauthlib>=1.0.0
- google-api-python-client>=2.89.0
- tqdm
Usage.
Command line arguments.
usage: yt-subs-migrate [-h] -s SOURCE_CHANNEL_ID -c CLIENT_SECRET [-T TEST]
Migrate YouTube subscriptions from one account to another
options:
-h, --help show this help message and exit
-s SOURCE_CHANNEL_ID, --source-channel-id SOURCE_CHANNEL_ID
source channel's ID
-c CLIENT_SECRET, --client-secret CLIENT_SECRET
client secret of destination account
-T TEST, --test TEST only fetch information, don't migrate
Run instruction.
- Setting up OAuth2 and get client secret. You can choose any Google account.
- Go to Google Cloud API Credentials. Create a OAuth client ID with type as a Desktop client. Download the client secret JSON file and.
- Go to OAuth consent screen and create one.
- The scopes must contain:
/auth/userinfo.email/auth/userinfo.profile/auth/youtube.readonly/auth/youtube/auth/youtube.force-ssl
- You can publish the screen and wait for Google verification. Or add the email of of your destination account as test user so that you don't have to wait (even if the screen is on the same account as the destiantion account).
- The scopes must contain:
- Run the program. You need to supply the source YouTube channel ID and the path to the client secret JSON file.
- You will be asked to authenticate. IMPORTANT, authenticate the DESTINATION ACCOUNT - the account you want to migrate subscriptions to - not the source account.
- Wait for the program to finnish.
Note.
- Currently, with a normal Google account, YouTube Data API have a limit quota of 10,000 per day. To
inserta subscriptions costs 50 quotas. To fetch the subscription info cost 1 quota. This means that the program can only migrate about less than 200 subscriptions per day. You might have to re-run the program on multiple days to completely finish the migration. - The program should not attempt to subscribe to an already subscribed channel.
License.
The program itself is licensed under GNU GPL v3.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
yt-subs-migrate-1.0.1.tar.gz
(42.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file yt-subs-migrate-1.0.1.tar.gz.
File metadata
- Download URL: yt-subs-migrate-1.0.1.tar.gz
- Upload date:
- Size: 42.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4625dd517b7204327ee136c67dd22f9deb8c4e095978f4dcfd1217f2b47e9e54
|
|
| MD5 |
243f102861985a9335f61197ef7bc2e7
|
|
| BLAKE2b-256 |
5fb9a10883728708a79b912caa1a91a0bf0bf2f25a7d38624679a62bdfcbec39
|
File details
Details for the file yt_subs_migrate-1.0.1-py3-none-any.whl.
File metadata
- Download URL: yt_subs_migrate-1.0.1-py3-none-any.whl
- Upload date:
- Size: 29.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
63dd6a2bd8f90bfd32b8337eb7e13ff3f4d7f2fa7952291f33e6071ff7e1a945
|
|
| MD5 |
d6faacfd680f8c33996e02b6d2e34d83
|
|
| BLAKE2b-256 |
d1616cb147b1d26310231da4606dbb28dafe3c20669aac68f8c56561ae285318
|