There are many web-based interfaces to traceroute available, including a nice list at traceroute.org. Here’s a Processing sketch that retrieves the raw HTML from one of them and separates the traceroute lines into time taken, hop IP, and hop name.
This sketch can be modified to scrape other web-based traceroute apps, but you’d need to change the last two methods, parseHop() and printHopList(), depending on how your particular app formats the results. You’d also need to change the global variables at the top that pertain to the site being used.
One caveat: the traceroute takes some time.
To see the full output of the HTML call, change debug to true.
[include file="../../code/Processing/Network/traceroute_0001/traceroute_0001.pde" clean="true"]