How can I get a certain paragraph from a url?

3 visualizzazioni (ultimi 30 giorni)
Kerem Kayan
Kerem Kayan il 1 Gen 2021
Commentato: Mario Malic il 3 Gen 2021
Good day to everyone. I can get data in a certain url. But what I need is to get a certain section in this text. To explain more clearly, I would like to extract the data under the heading "Signs and symptoms" from https://en.wikipedia.org/wiki/Dermatitis . I would be glad if you help me in this regard. "getAttribute" I tried this one. But I couldn't do that. Also I tried several things but they didn't make sense.

Risposte (1)

Mario Malic
Mario Malic il 1 Gen 2021
Here's a link from Stuart's blog post that will give you an idea what to do and how to look for information on websites. This one extracts links, but probably you can do it yourself for paragraphs.
  3 Commenti
Kerem Kayan
Kerem Kayan il 2 Gen 2021
Sorry there are some mistakes in the question. Finding the first four is not difficult. But since the top four are in the symptoms section I was looking for, I want those first four. I will do this for other diseases. That's why I want to automate.
Mario Malic
Mario Malic il 3 Gen 2021
Unfortunately, I can't help you further since I do not know much about scrapping texts from websites.

Accedi per commentare.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by