View Single Post
04-06-15, 11:33 PM   #8
elcius
A Cliff Giant
AddOn Author - Click to view addons
Join Date: Sep 2011
Posts: 75
wowhead scraping will be the easiest option.
for pet data:
Code:
var a = g_listviews.petspecies.data;
for(var i=0;i<a.length;i++){
	var p = a[i];
	console.log( p.species+',"'+p.name+'",'+(p.abilities||[]).join(',')+'' );
}
for abilities:
Code:
var a = g_listviews.petabilities.data;
for(var i=0;i<a.length;i++){
	var s = a[i];
	console.log( s.id+',"'+s.name+'",'+([s.damage,s.healing,s.duration,s.accuracy,s.type]).join(',')+'' );
}
shift-f5 for tools (firefox), go to appropriate page and run in the console, you'll get CSV lists, change them as needed.
  Reply With Quote