Metacritic on IMDB

Tell us about your wildest feature dreams. Or just harmless suggestions for improvement.

Metacritic on IMDB

Postby lankysam » Sat Mar 19, 2011 12:38 pm

I have noticed that IMDB now has Metacritic ratings for some movies. If the IMDB scraper were modified so that these could be imported, that would be great, IMHO.

Thanks for considering.
Bruji Friend
Bruji Friend
Posts: 11
Joined: Sat Mar 19, 2011 12:27 pm

Re: Metacritic on IMDB

Postby Conor » Sun Mar 20, 2011 12:26 am

Since we don't have a field for that info it's tricky to include in the official release. If you have Xcode you can grab a copy of the source code for the plugin and then add the following in the middle of resultNumber: method
Code: Select all
NSString *metaScore = [[results stringBetween:@"Metascore:" and:@"</"] stringByCleaningHTML];
[resultsDict setValue:metaScore forKey:@"custom1"];
User avatar
Top Dog
Posts: 5298
Joined: Sat Jul 03, 2004 12:58 pm

Return to Feature Requests