From a0ce0b15a412e4bc325470c1801968b8bdd1c7ec Mon Sep 17 00:00:00 2001 From: Jan Szejko Date: Wed, 1 Aug 2018 13:19:19 +0200 Subject: [PATCH] hack for pdf from collection --- librarian/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/librarian/__init__.py b/librarian/__init__.py index 0c77901..9a9e23e 100644 --- a/librarian/__init__.py +++ b/librarian/__init__.py @@ -84,7 +84,7 @@ class WLURI(object): slug = None example = 'http://wolnelektury.pl/katalog/lektura/template/' - _re_wl_uri = re.compile(r'http://(www\.)?wolnelektury.pl/katalog/lektura/' + _re_wl_uri = re.compile(r'http://(www\.)?wolnelektury.pl/katalog/lektur[ay]/' '(?P[-a-z0-9]+)/?$') def __init__(self, uri): -- 2.20.1