Takes an XML file as input via the command line, searches through it, and creates a CSV file with a list of URLs (such as tweets) that have been embedded using [embed] and [\embed]
./embedded-links.sh YOURFILE.xml
(Make sure you've remembered to chmod +x ./embedded-links.sh
prior to running the above so that it works.