Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SyntaxError: invalid syntax #25

Closed
littleheary opened this issue Jan 13, 2019 · 2 comments
Closed

SyntaxError: invalid syntax #25

littleheary opened this issue Jan 13, 2019 · 2 comments

Comments

@littleheary
Copy link

root@ubuntu:/soft/dork-tools/pagodo# python3 ghdb_scraper.py
File "ghdb_scraper.py", line 33
print(f"[-] Error retrieving google dorks from: {url}")
^
SyntaxError: invalid syntax
root@ubuntu:/soft/dork-tools/pagodo#
root@ubuntu:/soft/dork-tools/pagodo# ls
ghdb_scraper.py google_dorks.json pagodo.py requirements.txt
google_dorks_20181229_113249.txt LICENSE README.md user_agents.txt
root@ubuntu:/soft/dork-tools/pagodo# python3 pagodo.py
File "pagodo.py", line 32
self.log_file = f"pagodo_results_{get_timestamp()}.txt"
^
SyntaxError: invalid syntax
root@ubuntu:/soft/dork-tools/pagodo# python pagodo.py
File "pagodo.py", line 32
self.log_file = f"pagodo_results_{get_timestamp()}.txt"
^
SyntaxError: invalid syntax

@opsdisk
Copy link
Owner

opsdisk commented Jan 13, 2019

Hi @littleheary - thanks for submitting an issue. Can you run python -V and tell me what version of Python is running? I'm guessing you have a version less than 3.6. Version 3.6+ is required.

@opsdisk
Copy link
Owner

opsdisk commented Jan 22, 2019

Going to close this one out. Let me know if you have any other issues/questions.

@opsdisk opsdisk closed this as completed Jan 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants