Found it!
I have been looking for this script for a while.
I wrote this a long time ago to rip audiobooks.