Skip to content

Instantly share code, notes, and snippets.

from lxml import html
import requests, os
wowhead = "http://www.wowhead.com/item="
wantedStats = ['Agility or Strength or Intellect', 'Strength', 'Agility', 'Intellect', 'Attack Power', 'Spell Power', 'Haste', 'Critical Strike', 'Mastery', 'Versatility', 'Multistrike']
def getItemNumber(itemNumber=114979):
if itemNumber == 114979:
itemNumber = raw_input("Please enter the item number you wish to test:\n\t")