1876

Crawler – get data from unwrapped html content

Content data on webpage:

It’s html code looks like this:

Parsing data using regular expression with named group. Use foreach loop to avoid the order change on page.

Do not use the text value from dom function/property, because the text value does not contain html tag, which gives you the mark on data.

102 total views, 3 views today

Author: Albert

Leave a Reply