This API doesn't use API owned by YouTube.
It uses "undetected_chromedriver"(basic Selenium).
3.7 Version
Add user_data_dir, this is the correct usage, see here why.
Now you can upload multiple videos at once.
For your convenience, I have created a repository that will help you create Profiles correctly.
See example_3.7.py
3.5 Version
Add upload profile.
See example_profile.py
3.4 Version
This project public the shorts video to the YouTube.
You'll need: @gmail, Password and backup_code.
See example.py
What to get a backup code, enable in your account settings:
-
Manage your Google Account
-
Security
-
2-Step Verification(Turn On)
The program has been tested in the Netherlands and expects you to use English.
How use?
-
pip install api-youtube-uc -
Create YouTube channel(go to the YouTube Studio for the first time)
-
Watch file example
example.py
Release files for api-youtube-uc 3.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| api_youtube_uc-3.7.tar.gz | 21.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| api_youtube_uc-3.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 43.8 kB
Release files / api_youtube_uc-3.7.tar.gz
| Download URL | api_youtube_uc-3.7.tar.gz |
|---|---|
| Size | 21.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
19f4877aa4ee4df8cab7fff82ada20296cf7d3f20c2043ef2cad882e7635efdb
|
|
BLAKE2b-256 checksum How to use checksums |
66f3029e22e97bd1359de4b1c716b5a85a8097e5582e37e0332a10733f4202e6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.5
|
Release files / api_youtube_uc-3.7-py3-none-any.whl
| Download URL | api_youtube_uc-3.7-py3-none-any.whl |
|---|---|
| Size | 22.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4303418fb7079e985c769c84488d341a1a029d10fd888636745bf894e8965ad8
|
|
BLAKE2b-256 checksum How to use checksums |
0189a1b16a50468cc5443208cfa8f3ac6ced575746b2b1d10ed0b021fb862259
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.5
|