ddsol / speedtest.net

node.js SpeedTest.net client module
MIT License
607 stars 126 forks source link

Module fails on EU grounds due to GDPR acceptance #102

Closed luigimannoni closed 4 years ago

luigimannoni commented 4 years ago

After accepting the license the module expects a GDPR acceptance as well, using the flag --accept-gdpr does not work. Launching the binary using npx is also affected

Error: ==============================================================================
Ookla collects certain data through Speedtest that may be considered
personally identifiable, such as your IP address, unique device
identifiers or location. Ookla believes it has a legitimate interest
to share this data with internet providers, hardware manufacturers and
industry regulators to help them understand and create a better and
faster internet. For further information including how the data may be
shared, where the data may be transferred and Ookla's contact details,
please see our Privacy Policy at:
       http://www.speedtest.net/privacy
==============================================================================
To accept the message please run speedtest interactively or use the following: 
    speedtest --accept-gdpr
    at exec (./node_modules/speedtest-net/index.js:271:22)
ddsol commented 4 years ago

Will fix tomorrow. In the mean time you can run the binary from the command line. It should save the acceptance on your system and it will then work for you. The binary is in node_modules/speedtest-net/binaries.