Skip to main content

No project description provided

Project description

Auto Youtube lib

How to run:

from youtube_auto_publish import AutoYoutube
from asyncio import run

async def test():
    video_was_send: bool = False
    number_or_tries: int = 0

    while not video_was_send:
        with AutoYoutube("youtube_username", "youtube_password", "chromedriver_executable_path") as browser:
            await browser.login()
            video_was_send = await browser.post_video(
                channel_name="top5twitchDesenv",
                video_path="/path/video name.mp4",
                video_description="this is a video description",
                tags=["#overwatch","#pvp"],
                age_restriction=True,
            )
        number_or_tries += 1

        if video_was_send or number_or_tries >= 5:
            break



if __name__ == "__main__":
    run(test())

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

youtube_auto_publish-0.1.2.tar.gz (15.8 kB view details)

Uploaded Source

Built Distribution

youtube_auto_publish-0.1.2-py3-none-any.whl (16.1 kB view details)

Uploaded Python 3

File details

Details for the file youtube_auto_publish-0.1.2.tar.gz.

File metadata

  • Download URL: youtube_auto_publish-0.1.2.tar.gz
  • Upload date:
  • Size: 15.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for youtube_auto_publish-0.1.2.tar.gz
Algorithm Hash digest
SHA256 869996f3b15b12bbff509226755fb6b24c26af340f1357ef01abecb3a2fdea0f
MD5 b382541cbb86e6b5a0292658e9ce6fb9
BLAKE2b-256 d32a8602fb5be38c0e72ec2d54ae1b0fc8cf7bab296ec72cdb2cc39f3afb4858

See more details on using hashes here.

File details

Details for the file youtube_auto_publish-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for youtube_auto_publish-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 04c50763a550f35595dd8bee8e54ca78f2489486dfe908d9aff6d17eefba2c43
MD5 8f0ae934b7c358bb118e050931a270e1
BLAKE2b-256 e7958f7e561409159080bfc1ba62457ed1634e8c4886859b102a5f6882fbda87

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page