Don't ask to ask, just ask | |
PerlMonks |
perl Mojo DOM CSS syntax issuesby Anonymous Monk |
on Jan 27, 2024 at 07:37 UTC ( [id://11157299]=perlquestion: print w/replies, xml ) | Need Help?? |
Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question: Hi Monks, I inherited some code to extract specific data from html. The html has changed and the code doesn't parse and push the text I need. I was up till 3AM last night trying everything. As far as the CSS syntax there is a find for an anchor in the HTML and then a find for several classes to pull text, about 12 per page. It's such a large script I'm having problems making a tear out to test and need to run this large script every time to test which is part of the problem as well. Please find the part of the code that is broken below and the html. Thank you very much in advance for any insight and guidance you can provide
This is what I have from the script:
This is the html that the code is supossed to parse
I'm trying to extract the text from the class, the info like this from the page and there are multiple blocks on each html page Sam Namett, MD - Physician - Interventional Orthopedics ...Exosomes are nanovesicles (30-200 nm) found in extracellular space of various cell types, and in biofluids; having diverse functions including intracellular ... Thanks again for any insight you can provide.
Back to
Seekers of Perl Wisdom
|
|