Comments (3)
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.
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.
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)
- _clear(desc) Not Clearing Whole Caption Text Box If Title To To Long HOT 76
- Failed to upload HOT 5
- Multiple Account - Cookies HOT 2
- Error when running script with my cookies HOT 2
- FYP - Zero Viewers HOT 1
- CLI schedule error :( HOT 1
- Schedule switch id is changing HOT 1
- Failed to upload HOT 9
- Schedule and upload not work HOT 4
- Elelment not Found HOT 2
- The application is great, can you add an option to select affiliate products? HOT 1
- The issue of configuring proxy for Firefox HOT 3
- Low views with uploader. HOT 7
- Upload Button Not being Pressed
- TikTok-Uploader Not Pressing Upload/ Error Uploading HOT 5
- Error while uploading video
- Solve the problem of 0 views HOT 9
- IT doesn't post at the end HOT 1
- Video uploaded successfully but does not appear in profile HOT 2
- How to start it? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tiktok-uploader.