Package Details: python-nodriver 0.50.3-1

Git Clone URL: https://aur.archlinux.org/python-nodriver.git (read-only, click to copy)
Package Base: python-nodriver
Description: Successor of Undetected-Chromedriver. Providing a blazing fast framework for web automation, webscraping, bots and any other creative ideas which are normally hindered by annoying anti bot systems like Captcha / CloudFlare / Imperva / hCaptcha
Upstream URL: https://github.com/UltrafunkAmsterdam/nodriver
Keywords: nodriver python
Licenses: AGPL-3.0-only
Submitter: Junker
Maintainer: Kimiblock (lilac)
Last Packager: lilac
Votes: 2
Popularity: 0.95
First Submitted: 2024-09-07 11:30 (UTC)
Last Updated: 2026-05-13 20:30 (UTC)

Pinned Comments

Kimiblock commented on 2025-02-08 02:54 (UTC)

Note that this python library requires python-websocket>=14

Latest Comments

ioctl commented on 2026-02-06 10:24 (UTC) (edited on 2026-02-06 10:25 (UTC) by ioctl)

Build completed but the following error was printed:

...
Successfully built nodriver-0.48.1-py3-none-any.whl
==> Entering fakeroot environment...
==> Starting package()...
*** Error compiling '/home/build/.cache/yay/python-nodriver/pkg/python-nodriver/usr/lib/python3.14/site-packages/nodriver/cdp/network.py'...
  File "/usr/lib/python3.14/site-packages/nodriver/cdp/network.py", line 1365
    #: JSON (�Inf).
             ^
SyntaxError: Non-UTF-8 code starting with '\xb1' on line 1365, but no encoding declared; see https://peps.python.org/pep-0263/ for details

*** Error compiling '/home/build/.cache/yay/python-nodriver/pkg/python-nodriver/usr/lib/python3.14/site-packages/nodriver/cdp/network.py'...
  File "/usr/lib/python3.14/site-packages/nodriver/cdp/network.py", line 1365
    #: JSON (�Inf).
             ^
SyntaxError: Non-UTF-8 code starting with '\xb1' on line 1365, but no encoding declared; see https://peps.python.org/pep-0263/ for details

/usr/lib/python3.14/site-packages/nodriver/core/connection.py:414: SyntaxWarning: 'continue' in a 'finally' block
  continue
/usr/lib/python3.14/site-packages/nodriver/core/connection.py:414: SyntaxWarning: 'continue' in a 'finally' block
  continue
==> Tidying install...

The same error appears later, when using yt-dlp-getpot-wpc-git. It's caused by the ± char in the comment in the python code. Removing it fixes the problem.

Kimiblock commented on 2025-02-08 02:54 (UTC)

Note that this python library requires python-websocket>=14