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.1.tar.gz (15.8 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: youtube_auto_publish-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 28e876ca7759bf4bbed5fa219cad270ae4170169eade0fa9ed72380882e7a323
MD5 1849c736ca099f089503e718a64e6b83
BLAKE2b-256 91daeb2af8d908572de094b0ccd643236bea6e9be311565124d9793676b3525e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for youtube_auto_publish-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d2d332d22fc512f209838e606a33eab133fe134575767a1b0f695806a0d197f8
MD5 02cd47ca625085bbe05c0c227b78f417
BLAKE2b-256 cdf543527275516b654821ce23349ca642e747896cf1df04efb8de2220b0db43

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