title: Python requests library HTTPBasicAuth with three parameters
body: <p>I'm trying to use <a href="https://www.instapaper.com/api/simple" rel="noreferrer">Instapaper's simple developer api</a> to add a url to my bookmarks using python and the requests library. To authenticate the username and password all works well. </p>
  
  <pre><code>import requests
  from requests.auth import HTTPBasicAuth
  requests.get('https://www.instapaper.com/api/authenticate', auth=HTTPBasicAuth('username', 'password'))
  </code></pre>
  
  <p>But when trying to use the api to add a bookmark: </p>
  
  <pre><code> requests.get('https://www.instapaper.com/api/add', auth=HTTPBasicAuth('username', 'password','websiteUrl')) 
  </code></pre>
  
  <p>I get error: </p>
  
  <pre><code>File "instantbookmark.py", line 3, in &lt;module&gt;
     getA = requests.get('https://www.instapaper.com/api/add',     auth=HTTPBasicAuth('username', 'password','websiteUrl'))
  TypeError: __init__() takes exactly 3 arguments (4 given)
  </code></pre>
  
  <p>I think this is because HTTPBasicAuth can't take a third argument, does anyone know a way to do this? </p>