Closed andykamezou closed 1 week ago
I did some tests and discovered that the 404 error may be due to a new regional restriction by Twitter that occurs when attempting to access a media URL without logging in.
When using a VPN (Japan server), the media is loaded as it should even without logging in.
Luckily, I have a mini-PC connected to the VPN 24/7. I use it as a proxy and configure the Twitter extractor to connect via this proxy.
Let's hope this restriction will not be rolled out to another region.
without logging in
Neither gallery-dl nor Twitter itself send any authentication info (cookies, tokens, ...) when accessing media files, so your login status shouldn't matter here.
without logging in
Neither gallery-dl nor Twitter itself send any authentication info (cookies, tokens, ...) when accessing media files, so your login status shouldn't matter here.
Yeah, I'm aware that's how it usually is.
I've disabled my desktop Adguard, tried different browsers, and even curl get the 404 page. The more I test, the more I figured something wrong with my main PC connection to Twitter, but I can't pinpoint the cause.
And today evening, suddenly Twitter (only Twitter) site refused to load any images.
Perhaps it's time for a fresh Windows. Think I'll close this for now.
Since last week I can't download any media.
Session authenticated using
--cookies
.There is no problem when viewing the media url through browser (logged-in).
Perhaps some kind of referral or token is needed to access the media url, because the behaviour seems similar to when opening the media link unauthenticated in incognito:
Originally posted by @andykamezou in https://github.com/mikf/gallery-dl/issues/6244#issuecomment-2389248659