title: Maximum recursion depth exceeded. Multiprocessing and bs4
body: <p>I'm trying to make a parser use beautifulSoup and multiprocessing. I have an error: </p>
  
  <blockquote>
    <p>RecursionError: maximum recursion depth exceeded</p>
  </blockquote>
  
  <p>My code is:</p>
  
  <pre><code>import bs4, requests, time
  from multiprocessing.pool import Pool
  
  html = requests.get('https://www.avito.ru/moskva/avtomobili/bmw/x6?sgtd=5&amp;radius=0')
  soup = bs4.BeautifulSoup(html.text, "html.parser")
  
  divList = soup.find_all("div", {'class': 'item_table-header'})
  
  
  def new_check():
      with Pool() as pool:
          pool.map(get_info, divList)
  
  def get_info(each):
     pass
  
  if __name__ == '__main__':
      new_check()
  </code></pre>
  
  <p>Why I get this error and how I can fix it?</p>
  
  <p><strong>UPDATE:</strong>
  All text of error is</p>
  
  <pre><code>Traceback (most recent call last):
    File "C:/Users/eugen/PycharmProjects/avito/main.py", line 73, in &lt;module&gt; new_check()
    File "C:/Users/eugen/PycharmProjects/avito/main.py", line 67, in new_check
      pool.map(get_info, divList)
    File "C:\Users\eugen\AppData\Local\Programs\Python\Python36\lib\multiprocessing\pool.py", line 266, in map
      return self._map_async(func, iterable, mapstar, chunksize).get()
    File "C:\Users\eugen\AppData\Local\Programs\Python\Python36\lib\multiprocessing\pool.py", line 644, in get
      raise self._value
    File "C:\Users\eugen\AppData\Local\Programs\Python\Python36\lib\multiprocessing\pool.py", line 424, in _handle_tasks
      put(task)
    File "C:\Users\eugen\AppData\Local\Programs\Python\Python36\lib\multiprocessing\connection.py", line 206, in send
      self._send_bytes(_ForkingPickler.dumps(obj))
    File "C:\Users\eugen\AppData\Local\Programs\Python\Python36\lib\multiprocessing\reduction.py", line 51, in dumps
      cls(buf, protocol).dump(obj)
  RecursionError: maximum recursion depth exceeded
  </code></pre>