From e29d79f232bb24268b937c6ae2f43013ae7e9f79 Mon Sep 17 00:00:00 2001 From: j Date: Sun, 14 Jan 2018 18:52:55 +0100 Subject: [PATCH] fix single cast --- 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 4fb983b..5ace2ec 100644 --- a/ox/web/imdb.py +++ b/ox/web/imdb.py @@ -103,7 +103,7 @@ class Imdb(SiteParser): 're': [ ' (.*?)
', '.*?>(.*?).*?(.*?)', - lambda ll: [strip_tags(l) for l in ll] + lambda ll: [strip_tags(l) for l in ll] if isinstance(ll, list) else strip_tags(ll) ], 'type': 'list' },