You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I am getting the following error when I run a scrape function with a @browser decorator that also has a proxy input parameter sent.
However, it doesn't stop the script from running. Does this error mean that the proxy is in fact not being used? Do you have any suggestions for fixing it?
Call to 'require' failed:
data = scrape_reviews_list (data)
‹module > (/paths/scraping/async_scrapers/scraping_reviews_list.py:232)
current_result = run_task(data_item, False,
0)
at wrapper_browser (/paths/venv/lib/python3.8/site-packages/botasaurus/decorators.py:643)
= create_options_and driver_attributes and_close proxy/
at run_task (/paths/venv/lib/python3.8/site-packages/botasaurus/decorators.py:462)
> from botasaurus_proxy_authentication import add_proxy_options
at create_options_and_driver_attributes_and_close_proxy (/paths/venv/lib/python3.8/site-packages/botasaurus/create_driver_utils.py:303)
› proxyChain = require("proxy-chain")
at
‹module > (/paths/venv/lib/python3.8/site-packages/botasaurus_proxy_authentication/__init__.py:3)
across the bridge ...
at ModuleLoader.resolve (node:internal/modules/esm/loader:372:25)
at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:403:12)
at defaultResolve (node:internal/modules/esm/resolve:1193:11) at moduleResolve (node:internal/modules/esm/resolve:973:20)
packageResolve (node:internal/modules/esm/resolve:903:14)
at legacyMainResolve (node:internal/modules/esm/resolve: 218:9)
at new NodeError (node:internal/errors:379:21)
at getMessage (node:internal/errors:451:5)
at assert (node:internal/assert:14:11)
at new NodeError (node:internal/errors:405:5)
Please open an issue with this stack trace at https://github.com/nodejs/node/issues
This is caused by either a bug in Node.js or incorrect usage of Node.js internals.
Error CERR_INTERNAL_ASSERTION]: Code: ERR_MODULE_NOT_FOUND; The provided arguments length (2) does not match the required ones (3).
KH
Error [ERR_INTERNAL_ASSERTION]: Code:
ERR_MODULE_NOT_FOUND; The provided arguments length (2) does not match the required ones (3).
Thanks for creating this really helpful framework. Dhanyavad and Jai Hind.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello, I am getting the following error when I run a
scrape
function with a@browser
decorator that also has aproxy
input parameter sent.However, it doesn't stop the script from running. Does this error mean that the proxy is in fact not being used? Do you have any suggestions for fixing it?
Thanks for creating this really helpful framework. Dhanyavad and Jai Hind.
Kind regards,
Raunaq Singh
Beta Was this translation helpful? Give feedback.
All reactions