Hi Kardinalsin, the wowhead client has 2 sources of informations basically. The first one is the text dump their addon produce and the second one are the WDB files (WoW cache files) directly.
Further reading on this topic:
http://forums.wow-europe.com/thread....48545396&sid=1