fix year parser, closes #3080

This commit is contained in:
j 2018-02-16 12:20:20 +01:00
parent 4d9f9ddcc7
commit d3d2bede5c

View file

@ -253,7 +253,7 @@ class Imdb(SiteParser):
'writer': reference_section('writers'),
'year': {
'page': 'reference',
're': '=["\']og:title["\'] content="[^"]*?(\d{4}).*?"',
're': '<a href="/search/title\?year=\d+&ref_=tt_rv".*?itemprop=\'url\'>(\d+)</a>',
'type': 'int'
},
'credits': {