Yeah, this is why I hate sites with such poor formatting. Though perhaps they do that purposely so people don't do something similar. I normally avoid such sites and find others that are better formatted, but there's really no alternative to imdb. Oh well, I'll take what you've done and play with it and see if I can make it work. If you or anyone else wants to take a stab (or another in your case), feel free. This won't be the easiest thing I've ever worked on.
As far as performance, that's actually a minor consideration here. This particular part of the script is only used to find the right tt number for whatever you're looking for. Once found, the rest of the script does the rest and does it quickly. The find is rarely used... just to update things or add new information, so speed and performance don't matter a whole lot. It just shouldn't take a minute or two to do.

Btw, I really appreciate the help.