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

Uploaded Source

Built Distribution

youtube_auto_publish-0.1.3-py3-none-any.whl (16.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: youtube_auto_publish-0.1.3.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.3.tar.gz
Algorithm Hash digest
SHA256 33013d0ec04670ec3bc91797f4465f5e613fe7c6e03437ec4ae3468b1c2dc662
MD5 c6963e0300de104d93df8ab8bb434e97
BLAKE2b-256 fb1980e45cced1501dfd4cb46f0140c1aff79d26bf9f09fa0a5c4a291c483c38

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for youtube_auto_publish-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 af246419f1095f16b721beee8236b95e50e89f089d8c0e3ed70e81d8d29ff832
MD5 60a5b804344561d1ae076106905265e7
BLAKE2b-256 ddbf981f463004a408f06f999feb65a3f19b42df6ad4d4d65a6d18c88bc2030f

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