Datamining and pulling data off of SE's servers. It's pretty much how they do it, there's honestly no other way to do it properly without at minimum an api. They won't tell you the inner workings so you can't try to become "competition" to them.