title: What does 'AttributeError: 'NoneType' object has no attribute 'find_all'' mean in this code?
body: <p>I am building a quite simple beautifulsoup/requests web scraper, but when running it on a jobs website, the error</p>
  <blockquote>
  <p>AttributeError: 'NoneType' object has no attribute 'find_all'</p>
  </blockquote>
  <p>appears.
  Here is my code:</p>
  <pre><code>import requests
  from bs4 import BeautifulSoup
  
  URL = &quot;https://uk.indeed.com/jobs?q&amp;l=Norwich%2C%20Norfolk&amp;vjk=139a4549fe3cc48b&quot;
  page = requests.get(URL)
  
  soup = BeautifulSoup(page.content, &quot;html.parser&quot;)
  
  results = soup.find(id=&quot;ResultsContainer&quot;)
  
  job_elements = results.find_all(&quot;div&quot;, class_=&quot;resultContent&quot;)
  
  python_jobs = results.find_all(&quot;h2&quot;, string=&quot;Python&quot;)
  
  for job_element in job_elements:
      title_element = job_element.find(&quot;h2&quot;, class_=&quot;jobTitle&quot;)
      company_element = job_element.find(&quot;span&quot;, class_=&quot;companyName&quot;)
      location_element = job_element.find(&quot;div&quot;, class_=&quot;companyLocation&quot;)
      print(title_element)
      print(company_element)
      print(location_element)
      print()
  
  </code></pre>
  <p>Does anyone know what the issue is?</p>