dont take random number if film has no year

This commit is contained in:
j 2014-01-17 23:09:45 +05:30
parent d1a5613f3f
commit 7577b319ce

View file

@ -299,7 +299,7 @@ class Imdb(SiteParser):
},
'year': {
'page': 'combined',
're': '="og:title" content=".*?\((\d{4}).*?"',
're': '="og:title" content="[^"]*?\((\d{4}).*?"',
'type': 'int'
}
}