Giter Club home page Giter Club logo

Comments (3)

wkaisertexas avatar wkaisertexas commented on May 26, 2024

Use either "cookies" for a file-based authentication or "cookies_list" for a dictionary-based authentication.

These are keyword arguments and must be specified as such otherwise this will not work.

Sorry for the confusion. If you have any more trouble, please paste the script you are using for greater context.

from tiktok-uploader.

jujutsu764e avatar jujutsu764e commented on May 26, 2024

I did! I have tried both ways, with no success. I used exactly the same code, which provided in examples:

from tiktok_uploader.upload import upload_video

video_path = ".../final_video_1695124971.mp4"
cookies_path = ".../tiktok_cookies.json"
description = "Tech"
if __name__ == "__main__":
    upload_video(video_path,
                 description=description,
                 cookies=cookies_path,
                 headless=True)

cookies_list = [
    {
        "name": "sessionid",
        "value": "...",
        "domain": "www.tiktok.com",
        "path": "/",
        "expirationDate": 1710856080.556016
    }
]

from tiktok-uploader.

jujutsu764e avatar jujutsu764e commented on May 26, 2024

After set "domain" to ".tiktok.com" and set cookies_list instead of cookies, seems problem has gone. But: Exception: No such driver version 116.0.5845.187 for mac-arm64. Anyway, it's another problem

from tiktok-uploader.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.