From 3b0d4fef5e2ff3bd50c9fd9c07db430305332dd2 Mon Sep 17 00:00:00 2001 From: emijrp Date: Sun, 20 May 2018 20:36:08 +0200 Subject: [PATCH] utf8 latin1 --- wikispaces.py | 35 +++++++++++++++++++++++------------ 1 file changed, 23 insertions(+), 12 deletions(-) diff --git a/wikispaces.py b/wikispaces.py index 87499cf..8d58463 100644 --- a/wikispaces.py +++ b/wikispaces.py @@ -183,14 +183,20 @@ def downloadMainPage(wikidomain='', wikiurl='', overwrite=False): def downloadLogo(wikidomain='', wikiurl='', overwrite=False): index = '%s/index.html' % (wikidomain) if os.path.exists(index): - with open(index, 'r') as f: - m = re.findall(r'class="WikiLogo WikiElement">