Changeset 645

Show
Ignore:
Timestamp:
07/27/08 17:28:47 (4 months ago)
Author:
gbooker
Message:

Merge 644

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/CoreData/SapphireFrappliance/MetaDataImporting/SapphireMovieImporter.m

    r643 r645  
    530530        searchStr = [searchStr stringByReplacingAllOccurancesOf:@"." withString:@" "]; 
    531531        searchStr = [searchStr stringByReplacingAllOccurancesOf:@"-" withString:@" "]; 
    532         NSURL *url = [NSURL URLWithString:[NSString stringWithFormat:@"http://www.imdb.com/find?s=all&site=aka&q=%@", [searchStr URLEncode]]]; 
     532        NSURL *url = [NSURL URLWithString:[NSString stringWithFormat:@"http://www.imdb.com/find?s=tt&site=aka&q=%@", [searchStr URLEncode]]]; 
    533533        NSError * error = nil; 
    534534        BOOL uniqueResult=NO ; 
     
    539539        NSString *resultTitle=[[[root objectsForXQuery:@"//title" error:&error]objectAtIndex:0] stringValue]; 
    540540         
    541         if([resultTitle isEqualToString:@"IMDb Search"])/*Make sure we didn't get back a unique result */ 
     541        if([resultTitle isEqualToString:@"IMDb Title Search"])/*Make sure we didn't get back a unique result */ 
    542542        { 
    543543                results = [root objectsForXQuery:IMDB_SEARCH_XPATH error:&error];