2010-10-04, 15:29
Even with the new scraper installed I would sometimes get titles, and sometimes not. By looking with a browser from different IPs it seems that the site sometimes gives an slightly different view randomly.
Anyway a quick fix that gets titles from either view was to change the imdb.xml mentioned in this thread slightly, so line
<expression trim="1" noclean="1"><h1>([^<]*)</expression>
becomes
<expression trim="1" noclean="1"><h1[^>]*>([^<]*)</expression>
more work will be needed to fix the runtime and tagline and so on, but the title is the most important.
Anyway a quick fix that gets titles from either view was to change the imdb.xml mentioned in this thread slightly, so line
<expression trim="1" noclean="1"><h1>([^<]*)</expression>
becomes
<expression trim="1" noclean="1"><h1[^>]*>([^<]*)</expression>
more work will be needed to fix the runtime and tagline and so on, but the title is the most important.