INNER CODE UNIT · Python

InsufficientAuth

wkaisertexas/tiktok-uploader · src/tiktok_uploader/auth.py:331

class InsufficientAuth(Exception):
    """
    Insufficient authentication:

    > TikTok uses cookies to keep track of the user's authentication or session.

    Either:
        - Use a cookies file passed as the `cookies` argument
            - easily obtained using https://github.com/kairi003/Get-cookies.txt-LOCALLY
        - Use a cookies list passed as the `cookies_list` argument
            - can be obtained from your browser's developer tools under storage -> cookies
            - only the `sessionid` cookie is required
    """

    def __init__(self, message: str | None = None):
        super().__init__(message or self.__doc__)

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…