INNER CODE UNIT · Python

get_auth_args

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

def get_auth_args() -> Namespace:
    """
    Generates a parser which is used to get all of the authentication information
    """
    parser = ArgumentParser(
        description="TikTok Auth is a program which can log you into multiple accounts sequentially"
    )

    # authentication arguments
    parser.add_argument(
        "-o", "--output", default="tmp", help="The output folder to save the cookies to"
    )
    parser.add_argument("-i", "--input", help="A csv file with username and password")
    # parser.add_argument('-h', '--header', default=True,
    # help='The header of the csv file which contains the username and password')
    parser.add_argument("-u", "--username", help="Your TikTok email / username")
    parser.add_argument("-p", "--password", help="Your TikTok password")

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…