psf / requests-html

Pythonic HTML Parsing for Humans™

Home Page:http://html.python-requests.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

running render in Termux

snooppr opened this issue · comments

... r.html.render()
Traceback (most recent call last):
File "", line 1, in
File "/data/data/com.termux/files/home/test/requests_html/requests-html/requests_html.py", line 651, in render
self.browser = self.session.browser # Automatically create a event loop and browser
^^^^^^^^^^^^^^^^^^^^
File "/data/data/com.termux/files/home/test/requests_html/requests-html/requests_html.py", line 800, in browser
self._browser = self.loop.run_until_complete(super().browser)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/data/com.termux/files/usr/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "/data/data/com.termux/files/home/test/requests_html/requests-html/requests_html.py", line 784, in browser
self._browser = await pyppeteer.launch(ignoreHTTPSErrors=not(self.verify), headless=True, args=self.__browser_args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/pyppeteer/launcher.py", line 307, in launch
return await Launcher(options, **kwargs).launch()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/pyppeteer/launcher.py", line 148, in launch
self.proc = subprocess.Popen( # type: ignore
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/data/com.termux/files/usr/lib/python3.11/subprocess.py", line 1026, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "/data/data/com.termux/files/usr/lib/python3.11/subprocess.py", line 1948, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
OSError: [Errno 8] Exec format error: '/data/data/com.termux/files/home/.local/share/pyppeteer/local-chromium/588429/chrome-linux/chrome'