nittolese / gquestions

Find "People Also Ask" questions
GNU General Public License v3.0
59 stars 36 forks source link

bad syntax in line 2... and it line 106 #8

Open FFcafe1 opened 5 years ago

FFcafe1 commented 5 years ago

i launched the script but i have this error: x535@x535-pc:~/Descargas/gquestions-master$ python gquestions.py File "gquestions.py", line 2 SyntaxError: Non-ASCII character '\xe2' in file gquestions.py on line 3, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details so, i decided to deleted all started words: `usage=''' ❓❔👾 Gquestions CLI Usage ❔❓

🔍 Usage: gquestions.py query (en|es) [depth ] [--csv] [--headless] gquestions.py (-h | --help)

💡 Examples: ▶️ gquestions.py query "flights" en Search "flights" in English and export in html ▶️ gquestions.py query "flights" en --headless Search headlessly "flights" in English and export in html ▶️ gquestions.py query "vuelos" es --csv Search "vuelos" in Spanish and export in html and csv ▶️ gquestions.py query "vuelos" es depth 1 Search "vuelos" in Spanish with a depth of 1 and export in html ▶️ gquestions.py -h Print this message

👀 Options: -h, --help

''' Finally, when i try to launch again the script, i have this error: 'x535@x535-pc:~/Descargas/gquestions-master$ python gquestions.py File "gquestions.py", line 106 logging.info(f"clicking on ... {el.text}") ^ SyntaxError: invalid syntax

shyamzzp commented 4 years ago

Actually you dont need any logging for this particular one. You can remove the same logging statement.