Skip to content

Commit

Permalink
Added Osnabrück, Aachen, Oldenburg and Hannover to Sewage Data
Browse files Browse the repository at this point in the history
  • Loading branch information
frievoe97 committed Feb 27, 2024
1 parent f936850 commit 267ba13
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 5 additions & 0 deletions scripts/build-site.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ svn checkout --username $SVN_USER --password $SVN_PASSWORD --no-auth-cache --dep
pip install html_to_json
pip install bs2json
python3 scripts/sewage_data_parser.py Köln
python3 scripts/sewage_data_parser.py Osnabrück
python3 scripts/sewage_data_parser.py Aachen
python3 scripts/sewage_data_parser.py Oldenburg
python3 scripts/sewage_data_parser.py Hannover-Gümmerwald
python3 scripts/sewage_data_parser.py Hannover-Herrenhausen
cp *sewage_data* Abwasser/

svn commit --username $SVN_USER --password $SVN_PASSWORD --no-auth-cache -m "autobuild: $TIMESTAMP" Abwasser
Expand Down
1 change: 0 additions & 1 deletion scripts/sewage_data_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ def main(city_name):

# Search for scripts containing the desired data
matching_scripts = find_matching_scripts(soup, '2022')
print(len(matching_scripts))

# Convert scripts to JSON and extract data
parsed_data = convert_script_to_json(matching_scripts[3])
Expand Down

0 comments on commit 267ba13

Please sign in to comment.