From 541443df0290848df45df71148f61258d2df2ba3 Mon Sep 17 00:00:00 2001 From: Edward Betts Date: Fri, 27 Sep 2019 14:17:07 +0100 Subject: [PATCH] Bug fix museodelprado.es URL --- depicts/museodelprado.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/depicts/museodelprado.py b/depicts/museodelprado.py index 7795579..76f170f 100644 --- a/depicts/museodelprado.py +++ b/depicts/museodelprado.py @@ -3,7 +3,7 @@ import lxml.html import os import re -re_url = re.compile(r'www.museodelprado.es/en/.*/([^/]+)$') +re_url = re.compile(r'www.museodelprado.es/(.+)$') def get_html(url): catalog_id = re_url.search(url).group(1).replace('/', '_')