From 2172bcb3fb6a3ab5c3b8290878e931b41237ddc7 Mon Sep 17 00:00:00 2001 From: j Date: Sat, 7 Aug 2021 11:30:23 +0200 Subject: [PATCH] fix criterion parser --- ox/web/criterion.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/ox/web/criterion.py b/ox/web/criterion.py index 6cef01e..d7914be 100644 --- a/ox/web/criterion.py +++ b/ox/web/criterion.py @@ -43,8 +43,12 @@ def get_data(id, timeout=ox.cache.cache_timeout, get_imdb=False): results = find_re(html, '') info = re.compile('
  • (.*?)
  • ', re.DOTALL).findall(results) info = {k: strip_tags(v).strip() for k, v in info} + meta = re.compile('.*?src="(.*?)"', re.DOTALL).findall(html) + #result = find_re(html, "