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

TypeError: Parameter 'url' must be a string, not undefined #25

Open
alvassin opened this issue Aug 24, 2014 · 1 comment
Open

TypeError: Parameter 'url' must be a string, not undefined #25

alvassin opened this issue Aug 24, 2014 · 1 comment

Comments

@alvassin
Copy link

Seems that spider is crashing when finds bad (or empty?) urls. Running memory leak test:

TypeError: Parameter 'url' must be a string, not undefined
    at Url.parse (url.js:107:11)
    at urlParse (url.js:101:5)
    at Url.resolve (url.js:409:29)
    at urlResolve (url.js:405:40)
    at null.<anonymous> (/var/www/sitemap/spider/main.js:186:15)
    at Function.jQuery.extend.each (/var/www/sitemap/spider/jquery.js:641:20)
    at jQuery.fn.jQuery.each (/var/www/sitemap/spider/jquery.js:265:17)
    at window.$.fn.spider (/var/www/sitemap/spider/main.js:183:12)
    at Object.spider.route.route.article.title [as fn] (/var/www/sitemap/go.js:5:10)
    at Spider._handler (/var/www/sitemap/spider/main.js:196:12)
@yinear
Copy link

yinear commented Sep 24, 2014

I got the same error.

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