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

Can't understan this #67

Open
Ciao121 opened this issue May 9, 2017 · 0 comments
Open

Can't understan this #67

Ciao121 opened this issue May 9, 2017 · 0 comments

Comments

@Ciao121
Copy link

Ciao121 commented May 9, 2017

Using the first example here: http://nrabinowitz.github.io/pjscrape/

pjs.addSuite({ // url to scrape url: 'http://en.wikipedia.org/wiki/List_of_towns_in_Vermont', // selector to look for scraper: '#sortable_table_id_0 tr td:nth-child(2)' }); // Output: ["Addison","Albany","Alburgh", ...]

If I launch ita as is I get suites starting. But if I only replace the url whit anything else (e.g. https://en.wikipedia.org/wiki/List_of_cities_and_towns_in_Utah )
I get

`RangeError: Maximum call stack size exceeded.

undefined:0 in injectJs
phantomjs://code/pjscrape.js:886
:0 in forEach
RangeError: Maximum call stack size exceeded.

undefined:0 in injectJs
phantomjs://code/pjscrape.js:886
:0 in forEach
RangeError: Maximum call stack size exceeded.

phantomjs://code/pjscrape.js:894 in global code
:0 in injectJs
phantomjs://code/pjscrape.js:886
:0 in forEach
RangeError: Maximum call stack size exceeded.

undefined:0 in injectJs
phantomjs://code/pjscrape.js:886
:0 in forEach
FATAL ERROR: No suites configured
`
Notingh else changed...

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

1 participant