amg
This commit is contained in:
parent
c0d9627e69
commit
22b619e1a5
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ def getMovieData(wikipediaUrl):
|
||||||
filmbox['imdb_id'] = findRe(data, 'imdb episode\|.*?(\d*?)\|')
|
filmbox['imdb_id'] = findRe(data, 'imdb episode\|.*?(\d*?)\|')
|
||||||
if 'Amg movie' in data:
|
if 'Amg movie' in data:
|
||||||
filmbox['amg_id'] = findRe(data, 'Amg movie\|.*?(\d*?)\|')
|
filmbox['amg_id'] = findRe(data, 'Amg movie\|.*?(\d*?)\|')
|
||||||
if filmbox['amg_id'] and filmbox['amg_id'].startswith('1:'):
|
if 'amg_id' in filmbox and filmbox['amg_id'].startswith('1:'):
|
||||||
filmbox['amg_id'] = filmbox['amg_id'][2:]
|
filmbox['amg_id'] = filmbox['amg_id'][2:]
|
||||||
|
|
||||||
if 'rotten-tomatoes' in data:
|
if 'rotten-tomatoes' in data:
|
||||||
|
|
Loading…
Reference in a new issue