If i try to parse the movie http://www.imdb.com/title/tt0113421/ i get only 35 as output.
Here is your example file, modified to point at http://www.imdb.com/title/tt0113421/ to show you what i mean.
supercd.100webspace.net/imdb2/examp
...
This is your class just out of the box, without any modification.
My modified version does just the same thing.
It's my webserver problem? it's a strange class behavior?