From a93dc6e37bd35e295a4f41c301c8610d34800936 Mon Sep 17 00:00:00 2001
From: j <0x006A@0x2620.org>
Date: Wed, 15 May 2013 00:23:00 +0200
Subject: [PATCH] fix filmingLocations
---
ox/web/imdb.py | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/ox/web/imdb.py b/ox/web/imdb.py
index 580e503..30460ea 100644
--- a/ox/web/imdb.py
+++ b/ox/web/imdb.py
@@ -135,7 +135,10 @@ class Imdb(SiteParser):
},
'filmingLocations': {
'page': 'locations',
- 're': '(.*?)',
+ 're': [
+ '(.*?)',
+ lambda data: data.strip(),
+ ],
'type': 'list'
},
'genre': {