title: Python: AttributeError: 'ResultSet' object has no attribute 'get'
body: <p>When I try to scrape a value from a website and put it into a payload request I get the error: </p>
  
  <pre><code>AttributeError: 'ResultSet' object has no attribute 'get'
  </code></pre>
  
  <p>This is my code:</p>
  
  <pre><code>resumeURL='url'
  response=self.session.get(resumeURL,headers=headers)
  soup=BeautifulSoup(response.content, "html.parser")
  
  product=soup.find_all('input',{'name':'_CsrfToken', 'type':'hidden'})
  payload = {
      '_CsrfToken':product.get('value')
  </code></pre>
  
  <p>When I change <code>find_all</code> to <code>find</code> I get the error:</p>
  
  <pre><code>AttributeError: 'NoneType' object has no attribute 'get'
  </code></pre>
  
  <p>What am I doing wrong?</p>