I have this page. I want to extract text from html page, particularly table heading (
th) and table data (
td). For example:
Country: United States (US),State: California where
th = Country and
td = United States (US).
This is the closest I could get, using
xidel -A "Mozilla/5.0" http://www.ip-tracker.org/locator/ip-lookup.php ip=18.104.22.168 -e 'th td'
How do I extract all
td table entries in the html page?