On or around 2016-09-16, Amazon screwed with the formatting of the requester contact links on the status history pages that this script retrieves the data from, which broke it. I still use version 1.1 of mmmturkeybacon Export Mturk History (mmmturkeybacon made some big changes to it in version 2.0 that didn't work as well for me), so this is a maintenance fork to keep the 1.1-based version functional.
Version 2.0 can be fixed the same way, BTW: search for the one appearance of
and change it to
(This isn't the best way to handle getting values out of a URL, which is why it broke in the first place, but this is an easy fix that works for now without rewriting stuff.)