You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using the Cheerio library to parse HTML using isolated-vm. I am using a jQuery-like selector to select elements from the parsed HTML. However, I am encountering issues when trying to execute this jQuery selector expression within isolated-vm. The problem seems to be that the entire jQuery selector expression cannot be executed in one go in the isolated VM. As a workaround, i am considering splitting the jQuery selector and the subsequent expression into separate parts. However, this approach appears to complicate the handling of selectors like $("strong")[0]. Therefore, I amlooking for a solution that can execute the jQuery selector expression in the isolated VM without complicating the handling of such selectors. Anyone can help me?
The text was updated successfully, but these errors were encountered:
I am using the Cheerio library to parse HTML using isolated-vm. I am using a jQuery-like selector to select elements from the parsed HTML. However, I am encountering issues when trying to execute this jQuery selector expression within isolated-vm. The problem seems to be that the entire jQuery selector expression cannot be executed in one go in the isolated VM. As a workaround, i am considering splitting the jQuery selector and the subsequent expression into separate parts. However, this approach appears to complicate the handling of selectors like
$("strong")[0]
. Therefore, I amlooking for a solution that can execute the jQuery selector expression in the isolated VM without complicating the handling of such selectors. Anyone can help me?The text was updated successfully, but these errors were encountered: