It's most likely done by analyzing the HTML-code for each characters lodestone site. You basically search the code for certain words or tags and then read the information from there. Is pretty simple but if SE changes the layout you have to update your method. Usually this is done at certain time intervals and not every time the site is loaded (so you don't get into trouble with SE :P )