title: Http Error 403: Forbidden with exception handling
body: <p>Im trying to scrap the data from github api I have almost 1500 such links
  <a href="https://api.github.com/users/eviljeff" rel="nofollow noreferrer">Example link</a></p>
  
  <p>I am getting HTTP Error 403: Forbidden</p>
  
  <p>Any body give me any idea how can I handle it with exception handling in python?</p>
  
  <p>here is sample Code</p>
  
  <pre><code>for link in author_url:
          if link=="None found":
              continue
          link = Request(link,headers={'Accept': 'application/vnd.github.v3+json'}) 
          response = urlopen(link) 
          raw_json = response.read().decode("utf-8") 
          author_data = json.loads(raw_json)
  </code></pre>