from requests_html import HTML, HTMLSession
url = 'https://quotes.toscrape.com/'
session = HTMLSession()
response = session.get(url)
print(response)
response.html.render(sleep=1)
#^Getting red underline
I am getting the following Errors when executing the file;
[INFO] Starting Chromium download.
Traceback (most recent call last):
File "c:\Users\mabri\OneDrive\Desktop\Programming\WebScraper\index3.py", line 14, in <module>
response.html.render(sleep=1)
File "C:\Users\mabri.virtualenvs\lesson2-DjangoApp-kL2_wS8E\Lib\site-packages\requests_html.py", line 586, in render
self.browser = self.session.browser # Automatically create a event loop and browser
File "C:\Users\mabri.virtualenvs\lesson2-DjangoApp-kL2_wS8E\Lib\site-packages\requests_html.py", line 730, in browser
self._browser = self.loop.run_until_complete(super().browser)
File "C:\Users\mabri\AppData\Local\Programs\Python\Python313\Lib\asyncio\base_events.py", line 721, in run_until_complete
return future.result()
File "C:\Users\mabri.virtualenvs\lesson2-DjangoApp-kL2_wS8E\Lib\site-packages\pyppeteer\chromium_downloader.py", line 82, in download_zip
raise OSError(f'Chromium downloadable not found at {url}: ' f'Received {r.data.decode()}.\n')
OSError: Chromium downloadable not found at https://storage.googleapis.com/chromium-browser-snapshots/Win_x64/1181205/chrome-win.zip: