From 1748484e050551c4866174c8e56d630096f58fd2 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Sat, 19 May 2012 17:08:13 +0200 Subject: [PATCH] fix year parsing --- ox/web/imdb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ox/web/imdb.py b/ox/web/imdb.py index 80ed5a9..8e17782 100644 --- a/ox/web/imdb.py +++ b/ox/web/imdb.py @@ -261,7 +261,7 @@ class Imdb(SiteParser): }, 'year': { 'page': 'combined', - 're': '="og:title" content=".*?\((\d{4})\).*?"', + 're': '="og:title" content=".*?\((\d{4}).*?"', 'type': 'int' } }