diff --git a/scraper.js b/scraper.js index aa17758..ccc519e 100644 --- a/scraper.js +++ b/scraper.js @@ -81,7 +81,7 @@ class Scraper { matches[selector] = nodeCompleteTexts }) - return selectors.length === 1 ? matches[selectors[0]] : matches + return matches } async getAttribute(attribute) {