Open ShokorV8 opened 4 years ago
Same problem
I ran into this same issue. I have no solution, but I did notice that it was happening when trying to load the next page and running into 400 response for the next page, rather than a 200. I was able to get it to at least not fail completely when using the undocumented fetchAllPages
option.
For example:
Mercury.parse(null, { contentType: 'markdown', fetchAllPages: false })
Expected Behavior
when calling mercury parser either through CLI or node on certain urls it should successfully parse them
Current Behavior
instead the parser simply throws the following exception stack
Steps to Reproduce
simply calling the CLI parser on the following example link can reproduce the issue. example
Detailed Description
Possible Solution