laurengarcia / url-metadata

NPM module: Request a url and scrape the metadata from its HTML using Node.js or the browser.
https://www.npmjs.com/package/url-metadata
MIT License
166 stars 44 forks source link

Certain URLs cause Maximum call stack size exceeded #6

Closed ronidavelman closed 6 years ago

ronidavelman commented 6 years ago

domutils/lib/traversal.js:22 exports.getName = function(elem){

RangeError: Maximum call stack size exceeded at Object.exports.getName

This also occurs with some of the other urlmetadata modules on npm, specifically node-MetaInspector

c0rnonthec0bb commented 4 years ago

This appears to still be an issue

mauronr commented 3 years ago

This appears to still be an issue

It is. https://lnkd.in/gVeYnv7 is an example that causes this error. The stack overflow happens at findAll (node_modules/domutils/lib/querying.js:83:17)