isp-data-pollution
isp-data-pollution copied to clipboard
Latest version throwing syntax errors on startup
user@ubuntu:~/isp-data-pollution$ sudo python3 ./isp_data_pollution.py
File "./isp_data_pollution.py", line 218
print(f'This is ISP Data Pollution 🐙💨, Version {__version__}')
SyntaxError: invalid syntax
Is python3.6 needed to run string-formatting paradigms?
Yes, and possibly more importantly for chromedriver compatibility, though I haven't checked.
On other fronts I'm being pushed to move to 3.7.
Thanks, after installing 3.6 I was up and running!
Quick question: What does "timeout" and "short_timeout" change? Also, is there a way to randomize the request interval? e.g. Make a HTTP request, waits 2 min, requests, waits 5 min, etc?
timeout and short_timeout control how long the main process waits for a browser child process response before killing its child and moving on. I wouldn't mess with these unless you understand the specifics or like to watch a zillion headless Chrome browsers launched in the background.
The time differences between the requests are already randomized. Grep for the .chi2_mean_std method. The current parameters are hardcoded in specific calls roughly based on average browsing habits.
Outstanding, thank you sir.