elpendor / ES-scraper

A scraper for EmulationStation
47 stars 41 forks source link

Scraper syntax error #25

Closed Starlight42 closed 11 years ago

Starlight42 commented 11 years ago

Hi! I am trying to run scraper.py but I encoutered an error: $> python scraper.py File "scraper.py", line 2 <!DOCTYPE html> ^ SyntaxError: invalid syntax

or : ./scraper.py ./scraper.py: line 1: syntax error near unexpected token newline' ./scraper.py: line 1:<!DOCTYPE html>'

and my scraper.py :

pi@retropie ~ $ cat scraper.py

!/usr/bin/python

<!DOCTYPE html>

Aloshi commented 11 years ago

Uhh, that's not a Python script. It looks like your copy of scraper.py is corrupt somehow. If your Pi is connected to the internet, try running git pull, which should update the script (assuming there isn't a bigger problem at play here).

Starlight42 commented 11 years ago

Yeah! I have done some **\ while downloading the script xD. Now I have got the good one! Sorry for the inconvenience and thank you very much!