Categories Development Node.js Cheerio scraper, replace element Post author By admin Post date 23.02.2021 No Comments on Node.js Cheerio scraper, replace element let table = $('table'); if ($(table).has('br')) { $("br").replaceWith(" "); } Tags Cheerio, Node.js ← DOM selector excluding certain elements → How to print out requestQueue info (Apify) at run time Leave a Reply Cancel replyYour email address will not be published. Required fields are marked *Comment * Name * Email * Website Save my name, email, and website in this browser for the next time I comment. The reCAPTCHA verification period has expired. Please reload the page. Δ This site uses Akismet to reduce spam. Learn how your comment data is processed.