-
Notifications
You must be signed in to change notification settings - Fork 9.8k
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
404 error with tweet video #32007
Comments
Provide a verbose log. Read the FAQ section BUGS in the Manual if you're not sure how to generate one. Also, review other active issues for examples. |
Also, very often 404, even for some API URL rather than the page itself, is the site's way of telling us that the content is no longer available, so do check this again:
|
I can confirm this problem... But it seems it affects downloading of videos from accounts with explicit content. No matter if the video is explicit by itself, or not on per account bases no videos can be downloaded. Not sure if the debug log helps but here it is. BTW I chose some not so explicit video (it is an animation) from an explicit account and since not sure how things with such links should be treated/reported here, I masked the link in the log and will post under it the actual user and status, so you can construct the URL:
The user is MommyLinaaa and the video is in status: 1644617705968791552 |
Sorry for delay to answer.. My verbose log is exactly the same of Phobosk |
This comment was marked as resolved.
This comment was marked as resolved.
Possibly Twitter is testing cookies against the UA or (worse) TLS fingerprint that was seen when the cookie was issued? |
I also received these comments:
And:
This explains that the problem occurs when yt-dl fetches a page that has some content flag and the page request redirects to some user verification page (age verification?). There is also some trickery where the authorisation token from that page may need some other headers set to be valid. |
This comment was marked as duplicate.
This comment was marked as duplicate.
Probably related: yt-dlp/yt-dlp#5998 |
Actually related: yt-dlp/yt-dlp#6763 |
This comment was marked as off-topic.
This comment was marked as off-topic.
@jasonm23 , BTW @dirkf , just as an additional info debugging - since my account has 2FA enabled, I tried with it also, but the result is the same:
|
I tried with cookies but I still get 404 Error
options that I am giving to downloader: ydl_opts = {
'format': 'bestaudio/best',
'outtmpl': file_path,
'noplaylist': True,
'cookies': TWITTER_COOKIES,
'verbose': True,
'continue': True,
'dump-user-agent': True,
} maybe I am doing sth wrong? |
Checklist
Verbose log
Description
I'm trying to download metadata from tweets video and i'm getting 404 error. But yesterday was working very well
The text was updated successfully, but these errors were encountered: