summaryrefslogtreecommitdiff
path: root/scrapers/at.py
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2021-03-03 16:30:11 +0100
committerMartin Fischer <martin@push-f.com>2021-03-03 16:30:11 +0100
commit294ec05490f639c08d69d010f769b8d60aa3650d (patch)
tree96db83c27130498cbd310739fd64032ae9b764e6 /scrapers/at.py
parent672c8cdcfb78db189deead02533fd1cfe1faecfb (diff)
at.py: strip whitespace
Diffstat (limited to 'scrapers/at.py')
-rwxr-xr-xscrapers/at.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/scrapers/at.py b/scrapers/at.py
index d07f8f6..bc4d874 100755
--- a/scrapers/at.py
+++ b/scrapers/at.py
@@ -45,11 +45,11 @@ for page in pages:
if info['Typ'].startswith('Vertrag -'):
continue
data = dict(
- title=info['Kurztitel'],
+ title=info['Kurztitel'].strip(),
url=info['GesamteRechtsvorschriftUrl'],
)
if 'Abkuerzung' in info:
- data['abbr'] = info['Abkuerzung']
+ data['abbr'] = info['Abkuerzung'].strip()
normen[info['Gesetzesnummer']] = data
with open('laws/at.json', 'w') as f: