How to Parse this HTML with Web::Scraper?
问题 I am trying to use Web::Scraper to parse the following HTML: <div> <p><strong>TITLE1</strong> <br> DESCRIPTION1 </p> <p><strong>TITLE2</strong> <br> DESCRIPTION2 </p> <p><strong>TITLE3</strong> <br> DESCRIPTION3 </p> </div> into 'test' => [ { 'name' => 'TITLE1', 'desc' => 'DESCRIPTION1 ' }, { 'name' => 'TITLE2', 'desc' => 'DESCRIPTION2 ' }, { 'name' => 'TITLE3', 'desc' => 'DESCRIPTION3 ' } ] I have the following code but I don't have much luck. 'TEXT' when processing 'p' gives both the text