Twitter allows you to download your tweet archive, but that archive doesn’t contain your images. Ergo, it is not really an archive.
This script:
- downloads all the images from your tweets locally
- rewrites the archive files so that they point to the local images
- Request your Twitter archive from the bottom of https://twitter.com/settings/account.
- Wait for the email.
- Download the archive from the email.
- Unpack it somewhere.
- Go to the root directory of that archive and run
twitter-export-image-fill.py
there.
Note: You can interrupt the script at any time and run it again – it should start where it left off.
- The script downloads the images in highest quality.
- Images from retweets are not downloaded.
- The original versions of modified JSON files are saved for reference.
This script is in public domain. Run free.