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

Python Syntax Error #38

Closed
iamxhunt3r opened this issue Jun 30, 2020 · 2 comments
Closed

Python Syntax Error #38

iamxhunt3r opened this issue Jun 30, 2020 · 2 comments

Comments

@iamxhunt3r
Copy link

File "paramspider.py", line 40
url = f"http://web.archive.org/cdx/search/cdx?url=*.{args.domain}/*&output=txt&fl=original&collapse=urlkey&page=/"
^
SyntaxError: invalid syntax

@iamxhunt3r
Copy link
Author

It may be due to python 3.x version
But you can include format() it works perfectly fine.

So it will be
url = "http://web.archive.org/cdx/search/cdx?url=*.{0}/*&output=txt&fl=original&collapse=urlkey&page=/".format(args.domain)

@devanshbatham
Copy link
Owner

Hello,

The error is coz of non compatible version of Python you are using ! Am closing this issue anyways

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