WoWInterface - View Single Post - How can I obtain an offline csv of all battle pets, their statistics and abilities?
View Single Post
04-06-15, 11:33 PM   #8
A Cliff Giant
AddOn Author - Click to view addons
Join Date: Sep 2011
Posts: 71
wowhead scraping will be the easiest option.
for pet data:
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:
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