Skip to content

Commit

Permalink
Increases buffer size due to occasional parsing errors
Browse files Browse the repository at this point in the history
  • Loading branch information
FL550 committed Sep 18, 2024
1 parent c0353d4 commit 1e7a96f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion simple_dwd_weatherforecast/dwdforecast.py
Original file line number Diff line number Diff line change
Expand Up @@ -958,7 +958,7 @@ def zipped_chunks():
"GET",
"https://opendata.dwd.de/weather/local_forecasts/mos/MOSMIX_S/all_stations/kml/MOSMIX_S_LATEST_240.kmz",
) as r:
yield from r.iter_bytes(chunk_size=131072)
yield from r.iter_bytes(chunk_size=171072)

return stream_unzip(zipped_chunks())

Expand Down

0 comments on commit 1e7a96f

Please sign in to comment.