Youtube Auto Uploader | Youtube Automation | Upload to Playlist- Python,DataKund

Опубликовано: 16 Октябрь 2024
на канале: Data Kund
131
0

from bot_studio import *
youtube=bot_studio.youtube()
true=True;false=False
list_of_cookies=[
{
"domain": ".youtube.com",
"expirationDate": 1676431710.556339,
"hostOnly": false,
"httpOnly": false,
"name": "__Secure-3PAPISID",
"path": "/",
"sameSite": "no_restriction",
"secure": true,
"session": false,
"storeId": "0",
"value": "ZyIV9eK7BkQoQ36b/AmdNVfNhZBCfBCbHV",
"id": 1
}]
please replace the above sample cookies with your cookies, can see below link of how to fetch cookies
youtube.login_cookie(cookies=list_of_cookies)
response=youtube.upload_to_playlist(title='Testing upload', video_path='C:/users/video.mp4', kid_type="Yes, it's made for kids", description='I am testing', playlist='DataKund', type='Public')
VideoLink=response['body']['VideoLink']

youtube.check_video_exists(title='Testing upload', video_path='C:/users/video.mp4', kid_type="Yes, it's made for kids", description='I am testing', playlist='DataKund', type='Public')this function uploads the video to the playlist passed and returns the video link


We use datakund library to achieve this
Can install from here
https://pypi.org/project/bot-studio/​

All methods available to automate youtube
To see all methods can check this link
https://youtube-api.datakund.com​


Github Gist Link
https://gist.github.com/datakund​​

Github Repos Link
https://github.com/datakund/​​


DataKund is python library used to automate browser based actions on any website.
It supports automation of many different platforms
Youtube
https://youtube-api.datakund.com​
Amazon
https://amazon-api.datakund.com​
LinkedIn
https://linkedin-api.datakund.com​
Twitter
https://twitter-api.datakund.com​
Google
https://google-api.datakund.com​


To see all packages made with DataKund please check this link
https://datakund.com​​

All the bots are made with DataKund Studio
Can install from here
https://pypi.org/project/bot-studio/

If you need methods to automate any other website or for any queries or feedback please contact us at following
https://t.me/datakund​​
[email protected]

Thanks
--------------
Subscribe to Our Channel :
   / @datakund407  

Let's Connect

Facebook :   / datakund  
LinkedIn :   / datakund  
Telegram : https://t.me/datakund

#youtube #youtubeautomation #youtubebot #youtubeautomationtool