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

syntax error near unexpected token #2

Closed
vamsiuppala opened this issue Mar 1, 2019 · 2 comments
Closed

syntax error near unexpected token #2

vamsiuppala opened this issue Mar 1, 2019 · 2 comments

Comments

@vamsiuppala
Copy link

I see a "syntax error near unexpected token `sgp.urls,'" on submitting the following command:
lazynlp.download_pages(sgp.urls, text_docs, timeout = 30, default_skip = True, extensions = [], domains = [])

Is there something wrong I am doing? sgp.urls has all the URLs, text_docs is the name of the folder to get the outputs into, the rest of the parameters as default.

@chiphuyen
Copy link
Owner

chiphuyen commented Mar 1, 2019

shouldn't sgp.urls and text_docs be in quotations, as in 'sgp.urls' and 'text_docs'?

@vamsiuppala
Copy link
Author

I see the same issue nevertheless - should the command be run in a specific location or any location is fine as long as the right files and folders are pointed to?
Here's a screenshot of the errors I see -
screen shot 2019-03-02 at 9 44 38 am

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