Florian Flock
Florian Flock
@TheDahv it is up to you. :) Currently, I am ignoring those type of log spam. 😆 In my opinion, there is more to do: new esm syntax or typescript,...
Sure, here is the code: ```javascript const wae = require('web-auto-extractor').default const html = '' // from a request of my development server wae().parse(html) ``` Maybe you try this page: https://www.docmorris.de/melissaphosphorus-compmischung/01632860...
ok, that's clear for me, but I thought it was conceptional wrong to throw syntax error, if there is no json-ld present. :)
Try/catch isn't possible, because it is a `console.log()`` ```javascript try { return wae().parse(html) } catch (e) { // } ```
@paambaati would you be so kind to give short feedback on that topic? As far as I can see, @paambaati wants to add additional features. I will prepare the package...
@paambaati thanks for your feedback. I use your package in a certain project. I've made a fork and will try to improve some things.