-
-
Notifications
You must be signed in to change notification settings - Fork 5.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[TikTok] Failed to parse JSON/ No video formats found #9506
Comments
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as resolved.
This comment was marked as resolved.
Here's with traffic - or would you need some further debug prints around the problematic areas where the parser fails? --print-traffic log
|
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as duplicate.
This comment was marked as duplicate.
1 similar comment
This comment was marked as duplicate.
This comment was marked as duplicate.
yt-dlp should still be able to download the webpage version of the video in most cases. Try adding
If you get an error like this, it just means the output filename is too long. Add |
Also, should note that for 1 out of every ~30 attempts, I don't receive this error and I am still able to get the mobile API feed formats. |
i want data in json and it returns but when i open the video url in my browser i get access deneid |
actually i think when ever i make request tiktok send a captcha with 403 response and ytdlp give me back this page 🤔 if i'm right than how can i solve this issue i also try proxy but nothing changed |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as resolved.
This comment was marked as resolved.
try it, work well. |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as spam.
This comment was marked as spam.
But you cant use this with Seal (Android App) i think. It's there a way to make this work with Seal? |
trying to grab my own iid with a mitm has been quite a frustrating endeavor, but I'm glad it at least exists as an option. now we need a marketplace of iids for people to purchase 😹 |
Easiest way is on PC with Android Emulator + HTTP Toolkit |
I'm currently trying this, I can see a gourp id and a trace id but no iid |
adding |
Update: TT has changed something and the workarounds given in this issue seem to no longer be effective |
Looks like now tiktok backend actually verifies cryptographic signatures of API requests to /feed endpoint, such as X-Gorgon, X-Argus, X-Ladon, based on the rest of request information (url, query params, etc). That's why tiktok app still works, but your scrapers don't. You're cooked, unless someone drops reverse-engineered algorithms. Btw, there is outdated X-Gorgon generators on GitHub, if someone may find it useful UPD: nevermind, they don't do it anymore |
I wonder how those download sites still work, even with unwatermarked videos |
It seems the webpage fallback is not accounting for the |
Partially addresses #9506 Authored by: bashonly
I have now managed to capture and decrypt the apps network traffic, but non of the IDs work :C Edit: I just noticed that my app uses the |
Can you guys try @bashonly's PR with your own Here's a few hosts for you to try, if it doesn't work with the default one:
|
this issue is still ongoing for me |
Could you show some details about how to capture and decrypt the apps network traffic? I also want to get the iid parameter, but I have no idea how to ? thx so much for your reply ! |
Update: As of today, the |
DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE
Checklist
Please make sure the question is worded well enough to be understood
EDIT:
yt-dlp's TikTok extractor is failing to parse JSON from the feed API endpoint even on nightly/master or with passing
--extractor-args "tiktok:api_hostname=api22-normal-c-useast2a.tiktokv.com"
original log for reference
Provide verbose output that clearly demonstrates the problem
yt-dlp -vU <your command line>
)'verbose': True
toYoutubeDL
params instead[debug] Command-line config
) and insert it belowComplete Verbose Output
The text was updated successfully, but these errors were encountered: