I hope you’re doing well. I’ve recently started using Scrapeninja to extract data from an HTML page, but I’m having trouble retrieving the content of a <span> element with a specific class.
I’m trying to extract the text inside the <span> with the “target-class” class. However, my attempts don’t seem to be working as expected.
Here’s the code I’m currently using:
Could someone help me understand what might be wrong with my approach? Is there anything specific to consider with Scrapeninja when extracting content from HTML classes?
Can you please provide the URL of the website your are scraping?
2. Scenario blueprint
Please export the scenario blueprint file to allow others to view the mappings and settings. At the bottom of the scenario editor, you can click on the three dots to find the Export Blueprint menu item.
(Note: Exporting your scenario will not include private information or keys to your connections)