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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: youtube_auto_publish-0.1.5.tar.gz
  • Upload date:
  • Size: 15.9 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.5.tar.gz
Algorithm Hash digest
SHA256 40079f1e3fbb236cbb23c0cd325d2193151bc16711f463987b0a667f66830721
MD5 d0d4c52108fa123e69613408e8484a32
BLAKE2b-256 36bbb3ff8b082992d65ef8590792a645c5c44314783b14dd2665d5e33c787773

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for youtube_auto_publish-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 abad65d8c8004732a69893b99a2f18e2286e85cffd95b3fb90e7310223733cf8
MD5 8560a3e07be33b5225252e897109bca7
BLAKE2b-256 f16961c09653a52949290562c08ad15daa6cc60ffa3fae8c49dc9bc6e10369ce

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