Closed TiPPeX2 closed 4 years ago
Tried to use this module for extracting some scripts inside HTML response but I cannot.
reproduce
const html_parser = require('node-html-parser') html_parser.parse('<script>var test = \'\';</script>') .querySelectorAll('script')[0].text
Use options html_parser.parse('', {script: true}) .querySelectorAll('script')[0].text
Tried to use this module for extracting some scripts inside HTML response but I cannot.
reproduce