you get into an armsrace where twitter will obfuscate the markup to just wear out the scraper devs. which they can, because $$$
Twitter WebUI loads images and videos when you scroll. Which means you have a good signal what image and video is associated with what tweet.