From 228ec9dbd21212fcd4e7e28220d41e28e6222438 Mon Sep 17 00:00:00 2001 From: j Date: Mon, 7 May 2018 09:48:14 +0100 Subject: [PATCH] another criterion fix --- ox/web/criterion.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ox/web/criterion.py b/ox/web/criterion.py index ba6541e..67187fd 100644 --- a/ox/web/criterion.py +++ b/ox/web/criterion.py @@ -34,7 +34,7 @@ def get_data(id, timeout=ox.cache.cache_timeout, get_imdb=False): html = read_url(data["url"], timeout=timeout, unicode=True) except: html = ox.cache.read_url(data["url"], timeout=timeout) - data["number"] = find_re(html, "
  • Spine #(\d+)") + data["number"] = find_re(html, "Spine #(\d+)") data["title"] = decode_html(find_re(html, "

    (.*?)

    ")) data["title"] = data["title"].split(u' \u2014 The Television Version')[0].strip()