How can I get a certain paragraph from a url?

조회 수: 3 (최근 30일)
Kerem Kayan
Kerem Kayan 2021년 1월 1일
댓글: Mario Malic 2021년 1월 3일
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.

답변 (1개)

Mario Malic
Mario Malic 2021년 1월 1일
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
Kerem Kayan
Kerem Kayan 2021년 1월 2일
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 2021년 1월 3일
Unfortunately, I can't help you further since I do not know much about scrapping texts from websites.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Web Services에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by