Incidentally, if you are pulling from my site (which is totally fine by me), you might consider using the JSON endpoints instead of scraping the HTML. They won’t change as I futz with the page layouts.
http://gowdb.com/api/troops
http://gowdb.com/api/troops/6167
http://gowdb.com/api/troops/details
http://gowdb.com/api/troops/6167/details
http://gowdb.com/api/classes
http://gowdb.com/api/classes/11135/details
http://gowdb.com/api/spells
http://gowdb.com/api/spells/7010/details
http://gowdb.com/api/traits
http://gowdb.com/api/traits/big/details
http://gowdb.com/api/weapons
http://gowdb.com/api/weapons/1135/details
http://gowdb.com/api/traitstones
http://gowdb.com/api/traitstones/35/details
http://gowdb.com/api/searches/all?term=Dark