Quantcast
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, 05:52 PM   #6
MoonWitch
A Firelord
AddOn Author - Click to view addons
Join Date: Sep 2007
Posts: 455
Originally Posted by Barjack View Post
Then I parse them all using another Ruby script using Nokogiri (XML/HTML parser) and simple regular expressions. The site uses AJAX often so there are often JSON objects sitting around on various pages that you can load into memory with a JSON parser, too. These are sometimes more convenient than scraping the HTML.
Out of sheer curiosity - could you share that script? (I am trying to learn Regex, and Nokogiri :P )
__________________
  Reply With Quote