OptimalBits / Crawlme

Ajax crawling for your web application
67 stars 11 forks source link

fixed an issue that would cause crawlme to encounter an error when handl... #3

Closed wali-s closed 10 years ago

wali-s commented 10 years ago

...ing incorrect html ( without href attribute)

Caught exception: TypeError: Parameter 'url' must be a string, not object TypeError: Parameter 'url' must be a string, not object

This would happen because url = null in the case where the href attribute is not defined in the HTML