How to get the first paragraph only in the web page

ex. Dog - Wikipedia
I want to get the first paragraph only and store it in a text file.
I want to repeat this method for 10 wikipedia websites.

Use screen scraping method. (14.7 KB)



Hi thanks for the solution. But what if I want to scrape many wikipedia pages? Do I need to change the selector of the attack browser? Like
and also, what if I navigate to a different page which is not wikipedia?
Thank you very much.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.