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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: youtube_auto_publish-0.1.4.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.4.tar.gz
Algorithm Hash digest
SHA256 8aaf06b0f2bb8fb080cc82f25c0de5643641e89af17729f79287489531de0de3
MD5 c79ce95b023f8b2af97199ab8469a1ae
BLAKE2b-256 d43c2adec85f3429f8eebb0694a4d34de27d4b0bf6a7c7c44edf99ee9a0d90ce

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for youtube_auto_publish-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 3f4c8aafece0f4264d536e7d8c394694f901e19f05c68ba27e877a8914bef084
MD5 66d92b5ced76b49b8678537ab5762b19
BLAKE2b-256 4809914b3bca62986adc2d67f990628153d0a70f07db6ade912c7a8e57b30805

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