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.
This comment was marked as resolved.
This comment was marked as resolved.
@1RandomDev Try this: https://julien.duponchelle.info/android/use-proxy-with-waydroid And then add the --extractor-args 'tiktok:api_hostname=api16-normal-c-useast1a.tiktokv.com;app_info=7355728856979392262' |
I apologize for the off-topic, but I have an idea. Why not add to yt-dlp the ability to specify the login and password of my ticktock account? Because if I open the videos in my browser, they don't have watermarks on them. And in google chrome console there are such requests:
And there is this parameter:
But if I open the link from this query in a new tab, there will be 403 error. But maybe you can teach yt-dlp to download videos from such requests. |
If a logon would help, couldn't yt-dlp just get the session info from the browser using "--cookies-from-browser [browser]", the same way it works for Youtube? (using that doesn't seem to help with the issue currently) |
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 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.
This comment was marked as resolved.
This comment was marked as resolved.
Please read all of the comments that haven't been resolved/marked as duplicate in this issue before asking questions |
This comment was marked as resolved.
This comment was marked as resolved.
Using this, and the |
not iid dependent. and we are using the same API endpoint. TikTok is a hostile moving target, it's not realistic to expect consistency |
This comment was marked as duplicate.
This comment was marked as duplicate.
Closes yt-dlp#9506 Authored by: bashonly, Grub4K Co-authored-by: Simon Sawicki <[email protected]>
this issue is still ongoing for me |
Now you need to get and add your own |
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 |
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: