Comments (10)
Fix:
Line 73 change "api16-normal-useast5.us.tiktokv.com" for "api16-normal-v6.tiktokv.com".
from tiktok-voice.
api31-normal-useast2a.tiktokv.com
idk who you are but this worked thank you!!
from tiktok-voice.
Fix:
Line 73 change "api16-normal-useast5.us.tiktokv.com" for "api16-normal-v6.tiktokv.com".
I found a linke in an other prject worked fine for me ... thanks but how I get like this link if I face this problem in future ?
from tiktok-voice.
I seem to be able to find it inside of the storage tab in cookies of the window, which isn't too surprising as I wouldn't they would store a (possibly) changing ID in local storage (granted cookies are pretty similar to local storage in this case), I also seem to be able to get the session ID using MITM in the request headers, but if you couldn't get it using MITM, your method is also a good way of retrieving both the endpoint and ID.
from tiktok-voice.
Hello, hope you are doing great, just when I'm trying to run the script I have 2 issues : first one : playsound is relying on another python subprocess. Please use
pip install pygobject
if you want playsound to run more efficiently.PS : when a try to run this command : " pip install pygobject " it's complete with errors so the installation get failled
second : {'status': 'Session ID is invalid', 'status_code': 5} . PS : I have a correct session Id how to solve them? thanks in advance.
Did you fix the second option?
from tiktok-voice.
Hello,
still facing the same issue
we need a working link like the last one " api16-normal-v6.tiktokv.com "
and tell us how do you get these links to solve this issue by ourselves.
thanks
from tiktok-voice.
I'm assuming that you just need to have proxy running on your phone to see the endpoint contacted, or emulate a phone with some sort of proxy.
from tiktok-voice.
Did anyone find a fix?
from tiktok-voice.
Just to follow up here, in order to get a session ID you need to have a sort of MITM on your mobile device or an emulator with TikTok installed, and snatch up the session ID from a request done by the app.
The way I have done this is using mitmproxy in HTTP mode with a proxy configured on my phone, it's really simplistic if you try to do this method.
Edit: this is one method to do so, however this can be done on a computer using the TikTok web app, defined here Wiki - Obtaining Session ID, however to get the actual request API endpoint, which seems to be different in different regions, you may need to follow my method described above.
from tiktok-voice.
Just to follow up here, in order to get a session ID you need to have a sort of MITM on your mobile device or an emulator with TikTok installed, and snatch up the session ID from a request done by the app.
The way I have done this is using mitmproxy in HTTP mode with a proxy configured on my phone, it's really simplistic if you try to do this method.
Edit: this is one method to do so, however this can be done on a computer using the TikTok web app, defined here Wiki - Obtaining Session ID, however to get the actual request API endpoint, which seems to be different in different regions, you may need to follow my method described above.
I couldn't get a session ID via my MITM proxy from phone, but I got api url instead, which is api31-normal-useast2a.tiktokv.com
for me
then I authorised in web version, and made few actions(scroll, enter comment section) and through Network explorer(basic developer tool in every browser) got my sessionID from request cookies, fun thing that I couldn't find sessionID directly in web storage
from tiktok-voice.
Related Issues (20)
- 'requests' module not found HOT 1
- Session ID banned HOT 1
- Some letters not registering at the end of a sentence (US Male 3) HOT 1
- Japanese/Korean speech is "too long" HOT 2
- Sessionid not working anymore HOT 4
- How can I put tik tok voices as text to speech in a point reward? HOT 1
- Command with File does not work - Text-Command works HOT 3
- FATAL: You need to have a TikTok session ID! HOT 2
- Session ID is invalid HOT 10
- It's throwing this issue i'm not sure why
- Voice is no unavailable?
- Is there any other way to find more voice?
- Timeout & Connection Error on calling main.py
- Error while generating audio: Invalid base64-encoded string
- [FEATURE] support bengali language voice HOT 3
- When can you Support Chinese ?
- Session ID Randomly Becomes Invalid
- Status error 1 - unable to find the cause HOT 3
- KeyError: 'data' HOT 3
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-voice.