Skip to content

Commit

Permalink
Merge pull request #117 from fiercedruid/fixHttpError
Browse files Browse the repository at this point in the history
Fix HTTPError. URL updated.
  • Loading branch information
boramalper authored Nov 13, 2020
2 parents 035b5b4 + 9c21064 commit 0722283
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion himawaripy/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def download_chunk(args):
global counter

x, y, latest, level = args
url_format = "https://himawari8.nict.go.jp/img/D531106/{}d/{}/{}_{}_{}.png"
url_format = "https://himawari8-dl.nict.go.jp/himawari8/img/D531106/{}d/{}/{}_{}_{}.png"
url = url_format.format(level, WIDTH, strftime("%Y/%m/%d/%H%M%S", latest), x, y)

tiledata = download(url)
Expand Down

0 comments on commit 0722283

Please sign in to comment.