ga, copy&past errors

This commit is contained in:
j 2008-05-08 19:45:32 +02:00
parent d0b9ad867b
commit 553d50aec7
1 changed files with 2 additions and 2 deletions

View File

@ -100,7 +100,7 @@ def getMovieInfo(imdbId):
year = findRe(title, '\((\d{4})\)')
if not year:
year = findRe(title, '\((\d{4})')
_y = findRe(title, r'\(([0-9\?]{4}(/[IVXLCDM]+)?)\)')
_y = findRe(title, r'(\([0-9\?]{4}[/IVXLCDM]*?\))')
if _y:
title = title.replace(_y, '')
for t in ('TV series', 'TV-Series', 'TV mini-series', '(mini)', '(VG)', '(V)', '(TV)'):
@ -472,7 +472,7 @@ class IMDb:
return self.IMDbDict
def getCredits(self):
raw_credits = getCredits(self.imdb)
raw_credits = getMovieCredits(self.imdb)
credits = {}
def getNames(creditList):