Closed renefournier closed 7 years ago
@renefournier can you check which version? That callback API has not been supported for quite a while.
@danmactough Hi Dan, I'm using 1.1.5 of your package as a dependency of https://github.com/BiteBit/node-feedparser.git.
@renefournier I'm sorry, but there's not much I can do.
I'm able to parse that feed just fine, without errors. If you notice a broken feed that causes an error again, save the feed to a file and include that (or a link to it -- maybe a gist) in any issue you you open.
I notice, however, that the code you posted about seems to have a bug. Where you are wrapping your call to xml2js in a try/catch, that won't work because the parsing is async (presumably -- I don't know the library).
Sorry I can't offer more help. But the unreproducible error and the fact that you're using a wrapper library make this issue impossible for me to debug.
Hi Dan,
I'm using a package that wraps your node-feedparser for not streaming applications, and encountering a problem that seems to be a SAX error through inside your package, but which I can't catch... Anyway, it happens rarely, but here's one example:
I've been using feedparser for hundreds of feeds, and it's working great, it's just a few edge cases that seem to cause a problem. Thanks for your hard work on this great package!
...René