ga, copy&past errors
This commit is contained in:
parent
d0b9ad867b
commit
553d50aec7
1 changed files with 2 additions and 2 deletions
|
@ -100,7 +100,7 @@ def getMovieInfo(imdbId):
|
||||||
year = findRe(title, '\((\d{4})\)')
|
year = findRe(title, '\((\d{4})\)')
|
||||||
if not year:
|
if not year:
|
||||||
year = findRe(title, '\((\d{4})')
|
year = findRe(title, '\((\d{4})')
|
||||||
_y = findRe(title, r'\(([0-9\?]{4}(/[IVXLCDM]+)?)\)')
|
_y = findRe(title, r'(\([0-9\?]{4}[/IVXLCDM]*?\))')
|
||||||
if _y:
|
if _y:
|
||||||
title = title.replace(_y, '')
|
title = title.replace(_y, '')
|
||||||
for t in ('TV series', 'TV-Series', 'TV mini-series', '(mini)', '(VG)', '(V)', '(TV)'):
|
for t in ('TV series', 'TV-Series', 'TV mini-series', '(mini)', '(VG)', '(V)', '(TV)'):
|
||||||
|
@ -472,7 +472,7 @@ class IMDb:
|
||||||
return self.IMDbDict
|
return self.IMDbDict
|
||||||
|
|
||||||
def getCredits(self):
|
def getCredits(self):
|
||||||
raw_credits = getCredits(self.imdb)
|
raw_credits = getMovieCredits(self.imdb)
|
||||||
credits = {}
|
credits = {}
|
||||||
|
|
||||||
def getNames(creditList):
|
def getNames(creditList):
|
||||||
|
|
Loading…
Reference in a new issue