CheerioJS get specific
  • where header text ‘What I Want’
  • You can get those with:

    $('h4:contains("What I Want") + ul li').get().map(li => $(li).text())
    

    CLICK HERE to find out more related problems solutions.

    Leave a Comment

    Your email address will not be published.

    Scroll to Top