Open fox-alvarez opened 10 years ago
hi, i'm not sure i have understand well, but i have fixed this error in my repo: https://github.com/MiroRadenovic/node-metainspector
the commit that clears all eventhandlers is: https://github.com/MiroRadenovic/node-metainspector/commit/a253d7ac60009d3e73d421a14450373acd07e2b6
try to use my repo and let me know if this fixes the problem
Hi!
Sorry i've been slow responsing to these issues. @MiroRadenovic feel free to submit a PR with the fix. @wiii feel free to submit a PR with a failing test and I will make sure the issue is fixed and the test passes.
Thanks!
@gabceb there is already a pending PR: https://github.com/gabceb/node-metainspector/pull/7
please note that i have also added a option object to the constructor.
i have never used Travis, which in this case shows an error.. Please let me know if you need further assistance on this PL
@MiroRadenovic
Thanks a lot!
This small piece of code saved my day!
"this.removeAllListeners();"
Good day
I am having a problem
The plugin works fine when the url is entered from another accessible page hits http, url But when he is sent to a page that is not actually there first enters:
and returning the data:
But when I want to re-scrape the page if it exists, it is as if the previous error has affected this new client (or former client has not been deleted) and this causes the following error
I was noticing as trying to erase all traces of the client created on each request, but nothing worked for me.
The code in my js file on the server is as follows:
I need that every request will create a new client and can be removed without a trace. I hope you can help me
Greetings