'Set the urls used accessing the IMDb site.'

def set_imdb_urls(self, imdbURL_base):

    imdbURL_base = imdbURL_base.strip().strip('"\'')
    if (not imdbURL_base.startswith('http://')):
        imdbURL_base = ('http://%s' % imdbURL_base)
    if (not imdbURL_base.endswith('/')):
        imdbURL_base = ('%s/' % imdbURL_base)
    imdbURL_movie_base = ('%stitle/' % imdbURL_base)
    imdbURL_movie_main = (imdbURL_movie_base + 'tt%s/')
    imdbURL_person_base = ('%sname/' % imdbURL_base)
    imdbURL_person_main = (imdbURL_person_base + 'nm%s/')
    imdbURL_character_base = ('%scharacter/' % imdbURL_base)
    imdbURL_character_main = (imdbURL_character_base + 'ch%s/')
    imdbURL_company_base = ('%scompany/' % imdbURL_base)
    imdbURL_company_main = (imdbURL_company_base + 'co%s/')
    imdbURL_keyword_main = (imdbURL_base + 'keyword/%s/')
    imdbURL_top250 = (imdbURL_base + 'chart/top')
    imdbURL_bottom100 = (imdbURL_base + 'chart/bottom')
    imdbURL_find = (imdbURL_base + 'find?%s')
    self.urls = dict(movie_base=imdbURL_movie_base, movie_main=imdbURL_movie_main, person_base=imdbURL_person_base, person_main=imdbURL_person_main, character_base=imdbURL_character_base, character_main=imdbURL_character_main, company_base=imdbURL_company_base, company_main=imdbURL_company_main, keyword_main=imdbURL_keyword_main, top250=imdbURL_top250, bottom100=imdbURL_bottom100, find=imdbURL_find)
