From 50ada035cc4dd00535c7be2096df4d895b1f3ce7 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Thu, 8 Jul 2010 10:59:15 +0200 Subject: [PATCH] add reviews --- ox/web/imdb.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/ox/web/imdb.py b/ox/web/imdb.py index 334fbb3..a38d479 100644 --- a/ox/web/imdb.py +++ b/ox/web/imdb.py @@ -107,6 +107,14 @@ class Imdb(SiteParser): 're': '.*? ', 'type': 'date' }, + 'reviews': { + 'page': 'externalreviews', + 're': [ + '
    (.*?)
', + '
  • (.*?)
  • ' + ], + 'type': 'list' + }, 'runtime': { 'page': 'combined', 're': '
    Runtime:
    .*?([0-9]+ sec|[0-9]+ min).*?
    ',