title: trying download picture with urlib but HTTPError: HTTP Error 403: Forbidden
body: <p>I'm trying to automate picture download from this website but i got error</p>
  <p><strong>CODE</strong></p>
  <pre><code>&gt;  import urllib.request
  &gt;  rain = &quot;http://www.bom.gov.au/charts_data/IDY20108/current/mslp-precip/IDY20108.mslp-precip.012.png?1634817600&quot;
  &gt;   urllib.request.urlretrieve(rain, '/content/download_gambar/rain.png')
  </code></pre>
  <p><strong>EROR</strong></p>
  <blockquote>
  <p>HTTPError                                 Traceback (most recent call
  last)  in ()
  1 import urllib.request
  2 rain = &quot;http://www.bom.gov.au/charts_data/IDY20108/current/mslp-precip/IDY20108.mslp-precip.012.png?1634817600&quot;
  ----&gt; 3 urllib.request.urlretrieve(rain, '/content/download_gambar/rain.png')</p>
  <p>6 frames /usr/lib/python3.7/urllib/request.py in
  http_error_default(self, req, fp, code, msg, hdrs)
  647 class HTTPDefaultErrorHandler(BaseHandler):
  648     def http_error_default(self, req, fp, code, msg, hdrs):
  --&gt; 649         raise HTTPError(req.full_url, code, msg, hdrs, fp)
  650
  651 class HTTPRedirectHandler(BaseHandler):</p>
  <p>HTTPError: HTTP Error 403: Forbidden</p>
  </blockquote>