INNER CODE UNIT · Python

get_uploader_args

wkaisertexas/tiktok-uploader · src/tiktok_uploader/cli.py:53

def get_uploader_args() -> Namespace:
    """
    Generates a parser which is used to get all of the video's information
    """
    parser = ArgumentParser(
        description="TikTok uploader is a video uploader which can upload a"
        + "video from your computer to the TikTok using playwright automation"
    )

    # primary arguments
    parser.add_argument("-v", "--video", help="Video file", required=True)
    parser.add_argument("-d", "--description", help="Description", default="")

    # secondary arguments
    parser.add_argument(
        "-t",
        "--schedule",
        help="Schedule UTC time in %%Y-%%m-%%d %%H:%%M format ",

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…