How can I extract a specific text from an HTML?

Hello makers, I need to extract the titles and texts that appear on a web page to later use them for posts on my social networks. Could someone tell me which text parser module I should use and what the pattern would be? I have used several patterns, but none have extracted the information I want from the HTML data.

Welcome to the Make community!

Each website will require a different pattern to extract the text, because the structure will be different.

Could you provide us with an example of a webpage URL, and what you want to extract from the page?

samliewrequest private consultation

Join the unofficial Make Discord server to chat with us!

thanks a lot. I already use this pattern and it works great.
<p[^>]>(.?)</p>

I just wanted to extract the paragraphs of the news that the page contained.

The thing now is how can i just extract some specific bundle to use, because it gave me 15, but i only need the info in the 2,3 and 4 bundle.

Hi @C_Llanuch

We have done a video on web scraping in detail. Please check here.

This might be helpful to solve your issue.

Regards,
Msquare Automation - Gold Partner of Make

Book a Free Consultation | Connect Live

Explore our YouTube Channel for valuable insights and updates!

1 Like