maugenst / tabletojson

An npm module for node.js to convert HTML tables to JSON objects
https://www.npmjs.com/package/tabletojson
MIT License
138 stars 38 forks source link

Help #54

Closed Shadowv7 closed 1 year ago

Shadowv7 commented 4 years ago

Hello I would like to know how to wait for the site to load and then put it in JSON format because sometimes it gives me an error because the site did not load.

maugenst commented 4 years ago

Hi Shadowv7.

By now I do not exactly understand where the problem is. Got itself has no timeout on it's reuest: https://github.com/sindresorhus/got#timeout So if your page simply isn't loading it can be either a backend issue or an issue with a poor connection or or or ... What I would like you to do is to create a pull request where you write a test or an example that faces this problem.

Thanks, Marius

Shadowv7 commented 4 years ago

did

maugenst commented 1 year ago

removed dependency to got and replaced it with native fetch.