From 77c88dda5bfcf9a9a35723d20ccb2ba795094375 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Fri, 17 Sep 2010 12:30:38 +0200 Subject: [PATCH] there are blu-ray disks without dvd now --- ox/web/criterion.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ox/web/criterion.py b/ox/web/criterion.py index e3f85ea..635c4f3 100644 --- a/ox/web/criterion.py +++ b/ox/web/criterion.py @@ -44,7 +44,9 @@ def getData(id): result = findRe(html, "
(.*?)
") if 'Blu-Ray' in result or 'Essential Art House DVD' in result: - result = re.compile('

Other Editions

(.*?)', re.DOTALL).findall(html)[0] + r = re.compile('

Other Editions

(.*?)', re.DOTALL).findall(html) + if r: + result = r[0] result = findRe(result, "