timhutton / twitter-archive-parser

Python code to parse a Twitter archive and output in various ways
GNU General Public License v3.0
2.4k stars 111 forks source link

Media download keeps giving 404 #156

Open queerterpreter opened 1 year ago

queerterpreter commented 1 year ago

My account was set to private but I set it to public before running the script. Every single media download request is giving errors such as:

553/4423 .\parser-output\media\1291790873458614272-Ee1c8niWAAEC-Bw.jpg: Requesting headers for https://pbs.twimg.com/media/Ee1c8niWAAEC-Bw.jpg:o553/4423 .\parser-output\media\1291790873458614272-Ee1c8niWAAEC-Bw.jpg: FAIL. Media couldn't be retrieved from https://pbs.twimg.com/media/Ee1c8niWAAEC-Bw.jpg:orig because of exception: Download failed with status "404 Not Found". Response content: ""

Indeed, when I try to go to the URL, I get a blank page reading only "The image [URL] cannot be displayed because it contains errors."

I'm a couple hours in and it doesn't look like a single media download has been successful. What could be happening here? My account is currently public, visible, and when I click through to media in my archive, I do arrive at the original tweets with the media intact.