home
·
contact
·
privacy
projects
/
berlin-corona-table
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove redundant whitespace.
[berlin-corona-table]
/
scrape.py
diff --git
a/scrape.py
b/scrape.py
index 7431f0779fa9e0c922d32e920889eab02bbe7425..e449b998b2821f4fe1fe9539fc1fbf28b2898b9c 100755
(executable)
--- a/
scrape.py
+++ b/
scrape.py
@@
-119,7
+119,7
@@
fixes = {
},
}
},
}
-# Scan navigation bar for maximum pagination value.
+# Scan navigation bar for maximum pagination value.
url = url_prefix + pm_dir
with urllib.request.urlopen(url) as response:
html = response.read()
url = url_prefix + pm_dir
with urllib.request.urlopen(url) as response:
html = response.read()
@@
-145,7
+145,7
@@
for i in range(max_page):
continue
day_urls += [link['href']]
continue
day_urls += [link['href']]
-# Collect infection data.
+# Collect infection data.
data = {}
first_run = True
districts_sorted = []
data = {}
first_run = True
districts_sorted = []