Grab Specific Text from a website
11 views (last 30 days)
Show older comments
Daniel Wray
on 3 Dec 2014
Commented: Image Analyst
on 3 Dec 2014
I have about 6000 url's that are links to a wiki that has text on it that i need, is there a way to grab the data from the website because i have tried urlread and i cant seem to get the data out of the html string once ive done that.
That is a link to one of the url's i have, they are all the same. the text i'm trying to get is level 'ATK/DEF' etc
0 Comments
Accepted Answer
Image Analyst
on 3 Dec 2014
Edited: Image Analyst
on 3 Dec 2014
Did you try strfind? Like
contents = urlread(urlSearchAddress);
searchString = 'ATK/DEF';
location = strfind(contents, searchString);
4 Comments
Image Analyst
on 3 Dec 2014
You're welcome. Could you mark the Answer as "Accepted" if you have no more questions.
More Answers (0)
See Also
Categories
Find more on String Parsing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!