title: Requests html. AttributeError: __aexit__ error with asyncio how to fix?
body: <p>Cannot make async requests to url, and get response from the error.</p>
  
  <blockquote>
    <p>File "D:\Dev\Scripts\ol_as.py", line 28, in main
        async with requests_html.AsyncHTMLSession() as session: </p>
    
    <p>AttributeError: <strong>aexit</strong></p>
  </blockquote>
  
  <pre><code>import asyncio
  import requests_html
  from time import time
  from bs4 import BeautifulSoup
  
  
  async def fetch_content(url, session):
      async with session.get(url, allow_redirects=True) as response:
          data = await respone.read()
          respone.html.render()
          soup = BeautifulSoup(respone.html.html, 'lxml')
          txt = soup.find_all('span', {'class': 'text'})
          print(txt)
  
  
  
  
  async def main():
      url = 'http://quotes.toscrape.com/js/'
      tasks = []
      async with requests_html.AsyncHTMLSession() as session:
          for i in range(10):
              tasks.append(asyncio.create_task(fetch_content(url, session)))
          await asyncio.gather(*tasks)
  
  
  
  if __name__ == '__main__':
      t0 = time()
      asyncio.run(main())
      print(time() - t0)
  </code></pre>