Open phette23 opened 9 years ago
Sending an Accept: image/*
to Twitter doesn't seem to affect what they send in response. See the issue2 branch which includes a script (in "bin/gunzip-img.sh") that iterates over files in the images directory, gunzipping them.
Twitter's servers send some of the images as application/x-gzip files (e.g. see https://pbs.twimg.com/media/B0AsATdCEAAbbnP.jpg — after download, exiftool reports x-gzip as MIME Type). The files just need to be unzipped to be accessed but the best way to do that is up for debate:
I'm leaning toward an HTTP
Accept: image/*
header if it works.