Python library to upload videos to YouTube (also watch, like, comment, pin comment) using Selenium.

kkristof200 kkristof200 Last update: May 03, 2024

selenium_youtube

PyPI - package version PyPI - license PyPI - python version PyPI - downloads

GitHub - last commit GitHub - commit activity

GitHub - code size in bytes GitHub - repo size GitHub - lines of code

GitHub - license

Description

selenium implementation of youtube, which can upload/watch/like/comment/pin comment on videos

Install

pip install selenium_youtube
# or
pip3 install selenium_youtube

Usage

from selenium_youtube import Youtube

# pip install selenium_firefox
from selenium_firefox import Firefox
firefox = Firefox()

# pip install selenium_chrome
from selenium_chrome import Chrome
chrome = Chrome()

youtube = Youtube(
    browser=chrome # or firefox
)

upload_result = youtube.upload('path_to_video', 'title', 'description', ['tag1', 'tag2'])

Dependencies

beautifulsoup4, kcu, kstopit, kyoutubescraper, noraise, selenium, selenium-browser, selenium-chrome, selenium-firefox, selenium-uploader-account, setuptools, xpath-utils

Credits

Péntek Zsolt

Subscribe to our newsletter