essandess / isp-data-pollution

ISP Data Pollution to Protect Private Browsing History with Obfuscation
MIT License
590 stars 53 forks source link

invalid syntax on line 7 #8

Closed Exirtis closed 7 years ago

Exirtis commented 7 years ago

On running the data pollution script, I get the following error:

  File "isp_data_pollution.py", line 7
    <!DOCTYPE html>
    ^
SyntaxError: invalid syntax

Here are the install/configuration steps I took (OS = Windows 10):

It seems like it should be working, but since it's not I must be missing something. Any ideas?

essandess commented 7 years ago

You have downloaded a web page—not a python script—then tried to run the web page as a script.

Download the script with a git clone command, or direct from GitHub raw: https://raw.githubusercontent.com/essandess/isp-data-pollution/master/isp_data_pollution.py.

Exirtis commented 7 years ago

Oh... Duh. It's obviously been too long since I've used GitHub. :-\

Thanks for helping me out!